Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, 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.001053/0.001053, allocations: 189.2 kB / 316 MB, free: 3.555 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.256/1.256, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0009485/0.0009487, allocations: 93.31 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4045/0.4055, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.5911, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.764, allocations: 417.8 MB / 1.293 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.764, allocations: 73.12 kB / 1.293 GB, free: 258.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.03714/1.801, allocations: 17.74 MB / 1.31 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.801, allocations: 8.547 kB / 1.31 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/1.801, allocations: 7.875 kB / 1.31 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.663e-05/1.802, allocations: 167.8 kB / 1.31 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/1.802, allocations: 26.5 kB / 1.31 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/1.802, allocations: 3.875 kB / 1.31 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.644e-05/1.802, allocations: 14.31 kB / 1.31 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.534e-05/1.802, allocations: 43.5 kB / 1.31 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/1.802, allocations: 0 / 1.31 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/1.802, allocations: 0 / 1.31 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/1.802, allocations: 0.7031 kB / 1.31 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/1.802, allocations: 314.5 kB / 1.311 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.908e-05/1.802, allocations: 18.42 kB / 1.311 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/1.802, allocations: 6.547 kB / 1.311 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/1.802, allocations: 86.94 kB / 1.311 GB, free: 256 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/1.802, allocations: 31.17 kB / 1.311 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/1.802, allocations: 4 kB / 1.311 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/1.802, allocations: 39.08 kB / 1.311 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/1.803, allocations: 55.31 kB / 1.311 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/1.803, allocations: 98.38 kB / 1.311 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/1.803, allocations: 25.7 kB / 1.311 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/1.803, allocations: 84.84 kB / 1.311 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-06/1.803, allocations: 7.812 kB / 1.311 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.803, allocations: 0 / 1.311 GB, free: 255.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/1.803, allocations: 316.2 kB / 1.311 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/1.803, allocations: 3.875 kB / 1.311 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/1.803, allocations: 14.7 kB / 1.311 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/1.803, allocations: 10.05 kB / 1.311 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.803, allocations: 0 / 1.311 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.254e-05/1.803, allocations: 53.17 kB / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.803, allocations: 4.484 kB / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.803, allocations: 4.062 kB / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.803, allocations: 0 / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/1.803, allocations: 5.188 kB / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.803, allocations: 4.484 kB / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/1.803, allocations: 0 / 1.311 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.803, allocations: 3.938 kB / 1.311 GB, free: 255.2 MB / 0.8698 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.596e-05/1.803, allocations: 109.3 kB / 1.312 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/1.803, allocations: 4.5 kB / 1.312 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.803, allocations: 127.2 kB / 1.312 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/1.803, allocations: 176.8 kB / 1.312 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.18e-05/1.803, allocations: 180.8 kB / 1.312 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.803, allocations: 184.8 kB / 1.312 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/1.803, allocations: 384.5 kB / 1.313 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.803, allocations: 109.4 kB / 1.313 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/1.804, allocations: 113.6 kB / 1.313 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-05/1.804, allocations: 177.1 kB / 1.313 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.804, allocations: 176.9 kB / 1.313 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-05/1.804, allocations: 184.8 kB / 1.313 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.689e-05/1.804, allocations: 180.1 kB / 1.313 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.863e-05/1.804, allocations: 310 kB / 1.314 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001279/1.804, allocations: 0.6698 MB / 1.314 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/1.804, allocations: 195.5 kB / 1.315 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.804, allocations: 177.5 kB / 1.315 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.804, allocations: 106.7 kB / 1.315 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/1.804, allocations: 180.8 kB / 1.315 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/1.804, allocations: 109.5 kB / 1.315 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.707e-05/1.804, allocations: 86.98 kB / 1.315 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007738/1.805, allocations: 27.41 kB / 1.315 GB, free: 251.2 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 (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.0002064/1.805, allocations: 232.4 kB / 1.315 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.002e-05/1.805, allocations: 16.06 kB / 1.315 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.805, allocations: 0 / 1.315 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/1.805, allocations: 128 / 1.315 GB, free: 251 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/1.805, allocations: 0.5307 MB / 1.316 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001378/1.806, allocations: 125.5 kB / 1.316 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.806, allocations: 0.6876 MB / 1.317 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/1.806, allocations: 0 / 1.317 GB, free: 249.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)