Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 189 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008787/0.0008788, allocations: 82.41 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3548/0.3557, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.5491, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7235/1.273, allocations: 373.6 MB / 1.249 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/1.273, allocations: 70.34 kB / 1.25 GB, free: 13.59 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.4157/1.689, allocations: 19.36 MB / 1.268 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.689, allocations: 14.42 kB / 1.268 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/1.689, allocations: 20.38 kB / 1.268 GB, free: 323.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/1.689, allocations: 206.2 kB / 1.269 GB, free: 323.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/1.689, allocations: 9.344 kB / 1.269 GB, free: 323.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/1.689, allocations: 10.91 kB / 1.269 GB, free: 323.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004302/1.69, allocations: 410.4 kB / 1.269 GB, free: 323.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/1.69, allocations: 219.2 kB / 1.269 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.69, allocations: 5.125 kB / 1.269 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/1.69, allocations: 0 / 1.269 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/1.69, allocations: 11.25 kB / 1.269 GB, free: 323 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/1.691, allocations: 0.9809 MB / 1.27 GB, free: 322.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/1.691, allocations: 141.8 kB / 1.27 GB, free: 322.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/1.691, allocations: 55.03 kB / 1.27 GB, free: 322.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.692, allocations: 1.916 MB / 1.272 GB, free: 320.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.693, allocations: 45.12 kB / 1.272 GB, free: 320.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.693, allocations: 0 / 1.272 GB, free: 320.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004804/1.693, allocations: 129.9 kB / 1.272 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/1.693, allocations: 55.34 kB / 1.273 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/1.693, allocations: 137.6 kB / 1.273 GB, free: 320 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/1.693, allocations: 25.7 kB / 1.273 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/1.693, allocations: 142.4 kB / 1.273 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/1.693, allocations: 52.62 kB / 1.273 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/1.693, allocations: 0 / 1.273 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.649e-05/1.693, allocations: 325.7 kB / 1.273 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/1.693, allocations: 25.62 kB / 1.273 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/1.693, allocations: 134.4 kB / 1.273 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/1.694, allocations: 78.8 kB / 1.273 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.694, allocations: 2.906 kB / 1.273 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004472/1.694, allocations: 215 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.694, allocations: 3.844 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.694, allocations: 7.5 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.694, allocations: 10.27 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.694, allocations: 53.98 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.694, allocations: 3.844 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.695, allocations: 25.47 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/1.695, allocations: 16.14 kB / 1.274 GB, free: 319.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 6.805e-05/1.695, allocations: 115.3 kB / 1.274 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/1.695, allocations: 14.62 kB / 1.274 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/1.695, allocations: 181.3 kB / 1.274 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.695, allocations: 2.781 kB / 1.274 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.695, allocations: 9.125 kB / 1.274 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.695, allocations: 3.047 kB / 1.274 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/1.695, allocations: 182.9 kB / 1.274 GB, free: 319 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.695, allocations: 3.906 kB / 1.274 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.696, allocations: 33.28 kB / 1.274 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.696, allocations: 3.562 kB / 1.274 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.696, allocations: 6.844 kB / 1.274 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.696, allocations: 0 / 1.274 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.696, allocations: 7.156 kB / 1.274 GB, free: 318.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000401/1.696, allocations: 235.6 kB / 1.274 GB, free: 318.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000462/1.697, allocations: 0.6114 MB / 1.275 GB, free: 318.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.697, allocations: 122.4 kB / 1.275 GB, free: 318.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/1.697, allocations: 3.906 kB / 1.275 GB, free: 318.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.697, allocations: 3.094 kB / 1.275 GB, free: 318.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/1.697, allocations: 11.36 kB / 1.275 GB, free: 318.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/1.697, allocations: 12.14 kB / 1.275 GB, free: 318.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.322e-05/1.697, allocations: 108 kB / 1.275 GB, free: 318.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009205/1.698, allocations: 81.2 kB / 1.275 GB, free: 318.1 MB / 0.8698 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002572/1.698, allocations: 181.3 kB / 1.276 GB, free: 318 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001983/1.698, allocations: 104.7 kB / 1.276 GB, free: 318 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.698, allocations: 3.188 kB / 1.276 GB, free: 318 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/1.698, allocations: 41.92 kB / 1.276 GB, free: 318 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/1.699, allocations: 31.03 kB / 1.276 GB, free: 318 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/1.699, allocations: 171.4 kB / 1.276 GB, free: 317.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/1.699, allocations: 0.7372 MB / 1.277 GB, free: 317.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/1.699, allocations: 0 / 1.277 GB, free: 317.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)