Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7297/0.7297, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.1 MB / 399.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.00102, allocations: 75.36 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3752/0.3763, allocations: 82.9 MB / 0.5461 GB, free: 17 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.5609, allocations: 76.73 MB / 0.621 GB, free: 4.199 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.805, allocations: 389.6 MB / 1.001 GB, free: 96.09 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/1.805, allocations: 73.77 kB / 1.001 GB, free: 96.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.03041/1.835, allocations: 13.73 MB / 1.015 GB, free: 84.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.836, allocations: 8 kB / 1.015 GB, free: 84.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/1.836, allocations: 19.8 kB / 1.015 GB, free: 84.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/1.836, allocations: 246.1 kB / 1.015 GB, free: 84.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/1.836, allocations: 19.98 kB / 1.015 GB, free: 84.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/1.836, allocations: 8 kB / 1.015 GB, free: 84.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008176/1.837, allocations: 0.614 MB / 1.016 GB, free: 83.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/1.837, allocations: 223.4 kB / 1.016 GB, free: 83.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.837, allocations: 3.984 kB / 1.016 GB, free: 83.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.837, allocations: 0 / 1.016 GB, free: 83.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.837, allocations: 4 kB / 1.016 GB, free: 83.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/1.838, allocations: 269.4 kB / 1.016 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/1.838, allocations: 420.3 kB / 1.017 GB, free: 83.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.838, allocations: 160.9 kB / 1.017 GB, free: 82.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/1.839, allocations: 395.7 kB / 1.017 GB, free: 82.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.839, allocations: 38.81 kB / 1.017 GB, free: 82.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.884e-06/1.839, allocations: 0 / 1.017 GB, free: 82.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.003071/1.842, allocations: 0.6927 MB / 1.018 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.842, allocations: 55.41 kB / 1.018 GB, free: 81.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.842, allocations: 119.4 kB / 1.018 GB, free: 81.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.842, allocations: 25.7 kB / 1.018 GB, free: 81.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/1.842, allocations: 92.11 kB / 1.018 GB, free: 81.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/1.842, allocations: 121 kB / 1.018 GB, free: 81.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/1.842, allocations: 0 / 1.018 GB, free: 81.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.842, allocations: 330 kB / 1.019 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/1.843, allocations: 133.8 kB / 1.019 GB, free: 80.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.843, allocations: 136.4 kB / 1.019 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/1.845, allocations: 499.9 kB / 1.019 GB, free: 80.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.845, allocations: 0 / 1.019 GB, free: 80.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002906/1.848, allocations: 0.6944 MB / 1.02 GB, free: 79.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.848, allocations: 4 kB / 1.02 GB, free: 79.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.848, allocations: 4 kB / 1.02 GB, free: 79.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/1.848, allocations: 4 kB / 1.02 GB, free: 79.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/1.849, allocations: 119.6 kB / 1.02 GB, free: 79.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/1.849, allocations: 6.344 kB / 1.02 GB, free: 79.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.849, allocations: 59.81 kB / 1.02 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/1.849, allocations: 11.98 kB / 1.02 GB, free: 79.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/1.849, allocations: 108.9 kB / 1.02 GB, free: 79.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/1.849, allocations: 22.72 kB / 1.02 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/1.852, allocations: 0.7466 MB / 1.021 GB, free: 78.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.852, allocations: 7.938 kB / 1.021 GB, free: 78.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.852, allocations: 0 / 1.021 GB, free: 78.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.852, allocations: 0 / 1.021 GB, free: 78.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/1.853, allocations: 290.4 kB / 1.021 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.853, allocations: 3.984 kB / 1.021 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/1.853, allocations: 114.6 kB / 1.021 GB, free: 78.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.853, allocations: 0 / 1.021 GB, free: 78.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.853, allocations: 11.42 kB / 1.021 GB, free: 78.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.853, allocations: 4 kB / 1.021 GB, free: 78.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.853, allocations: 0 / 1.021 GB, free: 78.27 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002886/1.856, allocations: 0.7433 MB / 1.022 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002874/1.859, allocations: 1.11 MB / 1.023 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/1.859, allocations: 96.86 kB / 1.023 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/1.859, allocations: 3.906 kB / 1.023 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/1.859, allocations: 55.7 kB / 1.023 GB, free: 76.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.86, allocations: 83.3 kB / 1.024 GB, free: 76.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.86, allocations: 19.42 kB / 1.024 GB, free: 76.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.589e-05/1.86, allocations: 94.09 kB / 1.024 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001092/1.861, allocations: 122.4 kB / 1.024 GB, free: 76.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005802/1.861, allocations: 252.3 kB / 1.024 GB, free: 75.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005497/1.862, allocations: 345.2 kB / 1.024 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.862, allocations: 0 / 1.024 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/1.862, allocations: 203.9 kB / 1.025 GB, free: 75.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/1.863, allocations: 56.11 kB / 1.025 GB, free: 75.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/1.863, allocations: 306.9 kB / 1.025 GB, free: 74.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/1.864, allocations: 0.7839 MB / 1.026 GB, free: 74.19 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/1.864, allocations: 0 / 1.026 GB, free: 74.19 MB / 0.6198 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)