Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.409/1.409, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001063/0.001063, allocations: 187.1 kB / 361.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 0.6195 GB, free: 11.97 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008199/0.0008198, allocations: 96.23 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2537/0.2545, allocations: 121.4 MB / 0.8511 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.8344, allocations: 115.3 MB / 0.9637 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7795/1.614, allocations: 423 MB / 1.377 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.614, allocations: 72.95 kB / 1.377 GB, free: 139.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.03189/1.646, allocations: 17.74 MB / 1.394 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/1.646, allocations: 16.5 kB / 1.394 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/1.646, allocations: 3.906 kB / 1.394 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/1.646, allocations: 159.1 kB / 1.394 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/1.646, allocations: 29.7 kB / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/1.646, allocations: 0 / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.553e-05/1.646, allocations: 15.92 kB / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.882e-05/1.647, allocations: 41 kB / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/1.647, allocations: 0 / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.647, allocations: 3.906 kB / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/1.647, allocations: 4 kB / 1.394 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/1.647, allocations: 305 kB / 1.395 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.386e-05/1.647, allocations: 22.31 kB / 1.395 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/1.647, allocations: 14.52 kB / 1.395 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.317e-05/1.647, allocations: 81.11 kB / 1.395 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/1.647, allocations: 39.94 kB / 1.395 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.647, allocations: 0 / 1.395 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001498/1.647, allocations: 37.69 kB / 1.395 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/1.647, allocations: 51.41 kB / 1.395 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/1.647, allocations: 96.19 kB / 1.395 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/1.647, allocations: 25.7 kB / 1.395 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/1.647, allocations: 84.05 kB / 1.395 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-06/1.647, allocations: 4.656 kB / 1.395 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/1.647, allocations: 0 / 1.395 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.231e-05/1.647, allocations: 326.1 kB / 1.396 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/1.647, allocations: 0 / 1.396 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/1.648, allocations: 13.72 kB / 1.396 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/1.648, allocations: 15.86 kB / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.648, allocations: 0 / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001014/1.648, allocations: 46.38 kB / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/1.648, allocations: 8.062 kB / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.648, allocations: 4 kB / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/1.648, allocations: 0 / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/1.648, allocations: 7.938 kB / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/1.648, allocations: 0 / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/1.648, allocations: 7.906 kB / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/1.648, allocations: 0 / 1.396 GB, free: 124 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.891e-05/1.648, allocations: 104.7 kB / 1.396 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/1.648, allocations: 11.92 kB / 1.396 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/1.648, allocations: 125 kB / 1.396 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.648, allocations: 176.3 kB / 1.396 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.648, allocations: 180.2 kB / 1.396 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.648, allocations: 180.5 kB / 1.396 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/1.648, allocations: 390.4 kB / 1.397 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.648, allocations: 104.9 kB / 1.397 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/1.648, allocations: 105 kB / 1.397 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/1.648, allocations: 184.2 kB / 1.397 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/1.648, allocations: 180.2 kB / 1.397 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.229e-05/1.648, allocations: 181.7 kB / 1.397 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.16e-05/1.648, allocations: 187.2 kB / 1.398 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.17e-05/1.648, allocations: 300.8 kB / 1.398 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001078/1.649, allocations: 0.6807 MB / 1.399 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/1.649, allocations: 185.8 kB / 1.399 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/1.649, allocations: 176.3 kB / 1.399 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/1.649, allocations: 112.9 kB / 1.399 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/1.649, allocations: 184.2 kB / 1.399 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.649, allocations: 101 kB / 1.399 GB, free: 120 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.623e-05/1.649, allocations: 92.2 kB / 1.399 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007736/1.65, allocations: 18.62 kB / 1.399 GB, free: 119.9 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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.0002032/1.65, allocations: 243.8 kB / 1.4 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.352e-05/1.65, allocations: 15.56 kB / 1.4 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.65, allocations: 128 / 1.4 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/1.65, allocations: 4 kB / 1.4 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/1.65, allocations: 0.523 MB / 1.4 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/1.65, allocations: 127.9 kB / 1.4 GB, free: 119 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/1.65, allocations: 0.6965 MB / 1.401 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.65, allocations: 4 kB / 1.401 GB, free: 118.2 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)