Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.382/1.382, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009825/0.0009825, allocations: 185.3 kB / 361.1 MB, free: 7.105 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.178/1.178, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0008417/0.0008417, allocations: 97.2 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2282/0.2291, allocations: 121.4 MB / 0.8511 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/0.8097, allocations: 115.3 MB / 0.9637 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7067/1.517, allocations: 376.9 MB / 1.332 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.517, allocations: 71.56 kB / 1.332 GB, free: 220.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.02006/1.537, allocations: 12.04 MB / 1.344 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/1.537, allocations: 15.94 kB / 1.344 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/1.537, allocations: 3.906 kB / 1.344 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/1.537, allocations: 159.1 kB / 1.344 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/1.537, allocations: 33.69 kB / 1.344 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/1.537, allocations: 0 / 1.344 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.61e-05/1.537, allocations: 13.69 kB / 1.344 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.056e-05/1.537, allocations: 41.69 kB / 1.344 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/1.537, allocations: 3.938 kB / 1.344 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.537, allocations: 0.9375 kB / 1.344 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.537, allocations: 0 / 1.344 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/1.538, allocations: 314.5 kB / 1.344 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.485e-05/1.538, allocations: 14.58 kB / 1.344 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/1.538, allocations: 12.92 kB / 1.344 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.898e-05/1.538, allocations: 81.11 kB / 1.344 GB, free: 208 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/1.538, allocations: 30.56 kB / 1.344 GB, free: 208 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.054e-06/1.538, allocations: 3.984 kB / 1.344 GB, free: 208 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/1.538, allocations: 45.53 kB / 1.344 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/1.538, allocations: 51.41 kB / 1.344 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/1.538, allocations: 93.94 kB / 1.345 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/1.538, allocations: 29.73 kB / 1.345 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/1.538, allocations: 88.03 kB / 1.345 GB, free: 207.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/1.538, allocations: 4 kB / 1.345 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/1.538, allocations: 0 / 1.345 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.18e-05/1.538, allocations: 318.8 kB / 1.345 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/1.538, allocations: 4 kB / 1.345 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/1.538, allocations: 9.719 kB / 1.345 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/1.538, allocations: 15.98 kB / 1.345 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.538, allocations: 0 / 1.345 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.266e-05/1.538, allocations: 51.31 kB / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.538, allocations: 8 kB / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.538, allocations: 0 / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/1.538, allocations: 0 / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-05/1.538, allocations: 7.984 kB / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.538, allocations: 0 / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/1.538, allocations: 11.84 kB / 1.345 GB, free: 207.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.538, allocations: 4.062 kB / 1.345 GB, free: 207.2 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 4.058e-05/1.539, allocations: 106.6 kB / 1.345 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/1.539, allocations: 5.812 kB / 1.345 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-05/1.539, allocations: 122.1 kB / 1.345 GB, free: 207 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/1.539, allocations: 184.2 kB / 1.345 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/1.539, allocations: 180.3 kB / 1.346 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/1.539, allocations: 180.2 kB / 1.346 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/1.539, allocations: 381.8 kB / 1.346 GB, free: 206 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.539, allocations: 105 kB / 1.346 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/1.539, allocations: 104.9 kB / 1.346 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/1.539, allocations: 184.3 kB / 1.347 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/1.539, allocations: 185.9 kB / 1.347 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/1.539, allocations: 180.2 kB / 1.347 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-05/1.539, allocations: 176.3 kB / 1.347 GB, free: 205 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.602e-05/1.539, allocations: 307.7 kB / 1.347 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.775e-05/1.539, allocations: 0.6772 MB / 1.348 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/1.539, allocations: 187.4 kB / 1.348 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/1.539, allocations: 176.3 kB / 1.348 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/1.539, allocations: 109 kB / 1.348 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/1.539, allocations: 184.2 kB / 1.349 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.539, allocations: 109 kB / 1.349 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.407e-05/1.539, allocations: 83.19 kB / 1.349 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007914/1.54, allocations: 20 kB / 1.349 GB, free: 203.1 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.0001679/1.54, allocations: 210.8 kB / 1.349 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.706e-05/1.541, allocations: 15.92 kB / 1.349 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.541, allocations: 0 / 1.349 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.541, allocations: 0 / 1.349 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/1.541, allocations: 0.525 MB / 1.35 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001593/1.541, allocations: 132 kB / 1.35 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/1.541, allocations: 0.688 MB / 1.35 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.6e-07/1.541, allocations: 0 / 1.35 GB, free: 201.5 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)