Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.441/1.441, allocations: 285.5 MB / 292.8 MB, free: 9.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 175.7 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.2 MB / 0.6195 GB, free: 2.91 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007884, allocations: 87.09 kB / 0.7326 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4738/0.4746, allocations: 121.4 MB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.6658, allocations: 115.3 MB / 0.9637 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7337/1.4, allocations: 380.2 MB / 1.335 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/1.4, allocations: 71.58 kB / 1.335 GB, free: 7.156 MB / 0.8386 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.04329/1.443, allocations: 19.7 MB / 1.354 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.443, allocations: 16 kB / 1.354 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/1.443, allocations: 23.8 kB / 1.354 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/1.444, allocations: 213.3 kB / 1.355 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/1.444, allocations: 4 kB / 1.355 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/1.444, allocations: 8 kB / 1.355 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004504/1.444, allocations: 416.3 kB / 1.355 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/1.444, allocations: 212.3 kB / 1.355 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.444, allocations: 4 kB / 1.355 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/1.444, allocations: 4 kB / 1.355 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/1.444, allocations: 4 kB / 1.355 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/1.445, allocations: 0.9362 MB / 1.356 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/1.446, allocations: 136.7 kB / 1.356 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/1.446, allocations: 58.27 kB / 1.356 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/1.447, allocations: 1.92 MB / 1.358 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.447, allocations: 42.09 kB / 1.358 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/1.447, allocations: 0 / 1.358 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004719/1.448, allocations: 134.6 kB / 1.358 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.448, allocations: 55.41 kB / 1.358 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.448, allocations: 130.3 kB / 1.358 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/1.448, allocations: 28.7 kB / 1.359 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/1.448, allocations: 146.4 kB / 1.359 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/1.448, allocations: 42.92 kB / 1.359 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/1.448, allocations: 4 kB / 1.359 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.448, allocations: 317.8 kB / 1.359 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/1.448, allocations: 30.8 kB / 1.359 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/1.448, allocations: 138.9 kB / 1.359 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/1.449, allocations: 82.17 kB / 1.359 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.449, allocations: 4 kB / 1.359 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004951/1.449, allocations: 205.6 kB / 1.359 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.449, allocations: 4 kB / 1.359 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.449, allocations: 4.469 kB / 1.359 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.449, allocations: 8 kB / 1.359 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/1.449, allocations: 63.16 kB / 1.36 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.449, allocations: 7.938 kB / 1.36 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.45, allocations: 23.69 kB / 1.36 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/1.45, allocations: 12 kB / 1.36 GB, free: 1.691 MB / 0.8542 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 8.699e-05/1.45, allocations: 118 kB / 1.36 GB, free: 1.574 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/1.45, allocations: 11.91 kB / 1.36 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/1.45, allocations: 193 kB / 1.36 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.45, allocations: 11.91 kB / 1.36 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.45, allocations: 0 / 1.36 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.45, allocations: 0 / 1.36 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/1.451, allocations: 186.5 kB / 1.36 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.451, allocations: 0 / 1.36 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.451, allocations: 31.98 kB / 1.36 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/1.451, allocations: 4 kB / 1.36 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/1.451, allocations: 0 / 1.36 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.451, allocations: 0 / 1.36 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.451, allocations: 4 kB / 1.36 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004254/1.451, allocations: 243.2 kB / 1.36 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005269/1.452, allocations: 0.608 MB / 1.361 GB, free: 300 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/1.452, allocations: 119.1 kB / 1.361 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/1.452, allocations: 0 / 1.361 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.452, allocations: 11.98 kB / 1.361 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/1.452, allocations: 7.984 kB / 1.361 GB, free: 152 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/1.452, allocations: 11.5 kB / 1.361 GB, free: 144 kB / 0.8542 GB Notification: Performance of sort global known variables: time 6.41e-05/1.452, allocations: 104.4 kB / 1.361 GB, free: 48 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009657/1.453, allocations: 88.69 kB / 1.361 GB, free: 15.97 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.0003959/1.454, allocations: 186.5 kB / 1.361 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002824/1.454, allocations: 109.7 kB / 1.362 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.454, allocations: 0 / 1.362 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/1.454, allocations: 38.92 kB / 1.362 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/1.454, allocations: 30.98 kB / 1.362 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/1.455, allocations: 167.3 kB / 1.362 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/1.455, allocations: 0.7474 MB / 1.362 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/1.455, allocations: 4 kB / 1.362 GB, free: 14.69 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)