Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.374/1.374, allocations: 285.5 MB / 292.8 MB, free: 14.35 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 178.8 kB / 361.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.1 MB / 0.6195 GB, free: 2.996 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008557/0.0008556, allocations: 87.27 kB / 0.7325 GB, free: 53.87 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.1977/0.1986, allocations: 121.5 MB / 0.8512 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.4113, allocations: 115.3 MB / 0.9638 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6199/1.031, allocations: 345.3 MB / 1.301 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.031, allocations: 77.2 kB / 1.301 GB, free: 13.55 MB / 0.9044 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.3696/1.401, allocations: 16.36 MB / 1.317 GB, free: 270.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.401, allocations: 9.281 kB / 1.317 GB, free: 270.4 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/1.403, allocations: 192.9 kB / 1.317 GB, free: 270.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/1.403, allocations: 212.3 kB / 1.317 GB, free: 270.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.403, allocations: 3.781 kB / 1.317 GB, free: 270.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/1.403, allocations: 14.28 kB / 1.317 GB, free: 270.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003596/1.404, allocations: 200.7 kB / 1.318 GB, free: 270.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/1.404, allocations: 232.9 kB / 1.318 GB, free: 270.1 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.404, allocations: 0 / 1.318 GB, free: 270.1 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/1.404, allocations: 3.938 kB / 1.318 GB, free: 270 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/1.404, allocations: 11.12 kB / 1.318 GB, free: 270 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.405, allocations: 1.333 MB / 1.319 GB, free: 268.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/1.406, allocations: 141 kB / 1.319 GB, free: 268.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/1.406, allocations: 54.39 kB / 1.319 GB, free: 268.9 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/1.406, allocations: 9.797 kB / 1.319 GB, free: 268.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/1.406, allocations: 38.03 kB / 1.319 GB, free: 268.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/1.406, allocations: 0 / 1.319 GB, free: 268.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0002769/1.406, allocations: 148.1 kB / 1.32 GB, free: 268.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/1.406, allocations: 51.41 kB / 1.32 GB, free: 268.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/1.406, allocations: 123.7 kB / 1.32 GB, free: 268.6 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.406, allocations: 28.98 kB / 1.32 GB, free: 268.6 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/1.406, allocations: 130.6 kB / 1.32 GB, free: 268.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/1.406, allocations: 59.16 kB / 1.32 GB, free: 268.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/1.406, allocations: 0 / 1.32 GB, free: 268.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/1.406, allocations: 326 kB / 1.32 GB, free: 268.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/1.406, allocations: 41.03 kB / 1.32 GB, free: 268.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/1.406, allocations: 121.3 kB / 1.32 GB, free: 268 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/1.407, allocations: 61.72 kB / 1.32 GB, free: 268 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.407, allocations: 0 / 1.32 GB, free: 268 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002692/1.407, allocations: 199.6 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/1.407, allocations: 8.125 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.407, allocations: 3.875 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.407, allocations: 3.25 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/1.407, allocations: 65.73 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/1.407, allocations: 8.984 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/1.407, allocations: 29.64 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/1.407, allocations: 15.25 kB / 1.321 GB, free: 268 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 6.444e-05/1.408, allocations: 108.7 kB / 1.321 GB, free: 267.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/1.408, allocations: 10.44 kB / 1.321 GB, free: 267.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/1.408, allocations: 200.1 kB / 1.321 GB, free: 267.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.408, allocations: 3.062 kB / 1.321 GB, free: 267.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.408, allocations: 0 / 1.321 GB, free: 267.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.408, allocations: 0 / 1.321 GB, free: 267.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/1.408, allocations: 212.2 kB / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.408, allocations: 0 / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.409, allocations: 56.5 kB / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.409, allocations: 0 / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.409, allocations: 5.453 kB / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.409, allocations: 7.781 kB / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.409, allocations: 0 / 1.321 GB, free: 267.7 MB / 0.9044 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002288/1.409, allocations: 253.1 kB / 1.322 GB, free: 267.5 MB / 0.9044 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002684/1.409, allocations: 0.6218 MB / 1.322 GB, free: 267 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/1.409, allocations: 108.9 kB / 1.322 GB, free: 266.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/1.409, allocations: 0 / 1.322 GB, free: 266.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.409, allocations: 13.84 kB / 1.322 GB, free: 266.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/1.41, allocations: 10.55 kB / 1.322 GB, free: 266.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/1.41, allocations: 14.06 kB / 1.322 GB, free: 266.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.485e-05/1.41, allocations: 100.7 kB / 1.322 GB, free: 266.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008539/1.41, allocations: 71.11 kB / 1.322 GB, free: 266.8 MB / 0.9044 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 (20): * Single equations (assignments): 20 * 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.0001489/1.411, allocations: 122 kB / 1.323 GB, free: 266.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000211/1.411, allocations: 140.2 kB / 1.323 GB, free: 266.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.411, allocations: 0 / 1.323 GB, free: 266.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/1.411, allocations: 70.53 kB / 1.323 GB, free: 266.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/1.411, allocations: 36.92 kB / 1.323 GB, free: 266.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/1.412, allocations: 217.5 kB / 1.323 GB, free: 266.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/1.412, allocations: 0.7486 MB / 1.324 GB, free: 265.9 MB / 0.9044 GB Notification: Performance of SimCode: time 1.293e-06/1.412, allocations: 0.9062 kB / 1.324 GB, free: 265.9 MB / 0.9044 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)