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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.0009536/0.0009535, allocations: 189.2 kB / 316 MB, free: 3.543 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.094/1.094, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008053/0.0008054, allocations: 80.05 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.039e-06/5.059e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1621, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9419/1.104, allocations: 417.7 MB / 1.292 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000152/1.104, allocations: 71.58 kB / 1.293 GB, free: 298.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.0294/1.134, allocations: 17.4 MB / 1.31 GB, free: 281 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.134, allocations: 0 / 1.31 GB, free: 281 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.0002576/1.134, allocations: 350.4 kB / 1.31 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/1.134, allocations: 12.03 kB / 1.31 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/1.134, allocations: 0 / 1.31 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/1.134, allocations: 166.9 kB / 1.31 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/1.134, allocations: 29.7 kB / 1.31 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.134, allocations: 3.938 kB / 1.31 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.055e-05/1.134, allocations: 15.98 kB / 1.31 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.628e-05/1.134, allocations: 37.69 kB / 1.31 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.134, allocations: 4 kB / 1.31 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.134, allocations: 0 / 1.31 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.134, allocations: 3.984 kB / 1.31 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/1.135, allocations: 314.5 kB / 1.31 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.612e-05/1.135, allocations: 22.55 kB / 1.31 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/1.135, allocations: 6.547 kB / 1.31 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/1.135, allocations: 89.17 kB / 1.311 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/1.135, allocations: 30.56 kB / 1.311 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.135, allocations: 0 / 1.311 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001469/1.135, allocations: 37.69 kB / 1.311 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/1.135, allocations: 59.31 kB / 1.311 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/1.135, allocations: 92.94 kB / 1.311 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/1.135, allocations: 25.7 kB / 1.311 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/1.135, allocations: 92.08 kB / 1.311 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/1.135, allocations: 0 / 1.311 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.135, allocations: 4 kB / 1.311 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/1.135, allocations: 318.8 kB / 1.311 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/1.135, allocations: 0 / 1.311 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/1.135, allocations: 17.72 kB / 1.311 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/1.135, allocations: 11.98 kB / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.135, allocations: 7.938 kB / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.355e-05/1.135, allocations: 45.59 kB / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/1.135, allocations: 4 kB / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/1.135, allocations: 4 kB / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/1.135, allocations: 0 / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.839e-05/1.135, allocations: 7.938 kB / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.135, allocations: 0 / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/1.135, allocations: 0 / 1.311 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.136, allocations: 8 kB / 1.311 GB, free: 279 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.198e-05/1.136, allocations: 109 kB / 1.311 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.136, allocations: 11.98 kB / 1.311 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.337e-05/1.136, allocations: 117 kB / 1.312 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.136, allocations: 180.2 kB / 1.312 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/1.136, allocations: 180.2 kB / 1.312 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/1.136, allocations: 184.2 kB / 1.312 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/1.136, allocations: 393.6 kB / 1.312 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.136, allocations: 101 kB / 1.313 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/1.136, allocations: 105 kB / 1.313 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/1.136, allocations: 184.2 kB / 1.313 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.136, allocations: 176.3 kB / 1.313 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-05/1.136, allocations: 180.3 kB / 1.313 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.452e-05/1.136, allocations: 184.2 kB / 1.313 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.811e-05/1.136, allocations: 303.7 kB / 1.314 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/1.136, allocations: 191.3 kB / 1.314 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/1.136, allocations: 180.3 kB / 1.314 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.136, allocations: 105 kB / 1.314 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/1.136, allocations: 184.2 kB / 1.314 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.136, allocations: 105 kB / 1.314 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.222e-05/1.136, allocations: 83.28 kB / 1.314 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002178/1.137, allocations: 23.94 kB / 1.314 GB, free: 275.6 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.0001858/1.137, allocations: 237.4 kB / 1.315 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.623e-05/1.137, allocations: 12.22 kB / 1.315 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.137, allocations: 0 / 1.315 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/1.137, allocations: 0 / 1.315 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/1.137, allocations: 0.5265 MB / 1.315 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001337/1.137, allocations: 119.2 kB / 1.315 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.137, allocations: 0.6919 MB / 1.316 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.11e-07/1.137, allocations: 3.938 kB / 1.316 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002484/1.14, allocations: 0.8295 MB / 1.317 GB, free: 273.1 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches