Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 176 kB / 7.451 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.592/0.592, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.103/1.103, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 111.5 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.43e-06, allocations: 0 / 0.5528 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 82.31 MB / 0.6332 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.4039, allocations: 111.1 MB / 0.7417 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4041, allocations: 72.48 kB / 0.7418 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004388/0.4085, allocations: 1.606 MB / 0.7434 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4085, allocations: 7.844 kB / 0.7434 GB, free: 10.61 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004999/0.409, allocations: 420.7 kB / 0.7438 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.4091, allocations: 11.69 kB / 0.7438 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.4091, allocations: 14.92 kB / 0.7438 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.4093, allocations: 203.4 kB / 0.744 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.4093, allocations: 4 kB / 0.744 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4094, allocations: 3.969 kB / 0.744 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001253/0.4095, allocations: 62.42 kB / 0.7441 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.4096, allocations: 89.17 kB / 0.7442 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4096, allocations: 0 / 0.7442 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4097, allocations: 3.906 kB / 0.7442 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4097, allocations: 3.844 kB / 0.7442 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.4103, allocations: 446.8 kB / 0.7446 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4105, allocations: 106.4 kB / 0.7447 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.4106, allocations: 47.03 kB / 0.7447 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.4106, allocations: 0 / 0.7447 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4106, allocations: 37.38 kB / 0.7448 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.4106, allocations: 0 / 0.7448 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002307/0.4109, allocations: 97.42 kB / 0.7449 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4109, allocations: 84.95 kB / 0.7449 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.411, allocations: 144.9 kB / 0.7451 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.411, allocations: 26.45 kB / 0.7451 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4111, allocations: 95.42 kB / 0.7452 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.4111, allocations: 30.52 kB / 0.7452 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.4111, allocations: 0 / 0.7452 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4112, allocations: 324.9 kB / 0.7455 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.4113, allocations: 22.5 kB / 0.7456 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.4113, allocations: 45.09 kB / 0.7456 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.4114, allocations: 29.17 kB / 0.7456 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4114, allocations: 3.938 kB / 0.7456 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001505/0.4116, allocations: 107.7 kB / 0.7457 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.4116, allocations: 3.844 kB / 0.7457 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4116, allocations: 3.844 kB / 0.7457 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.4116, allocations: 4.031 kB / 0.7457 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4118, allocations: 32.48 kB / 0.7458 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4118, allocations: 1.734 kB / 0.7458 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.4119, allocations: 10.94 kB / 0.7458 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4119, allocations: 7.844 kB / 0.7458 GB, free: 24.75 MB / 0.5105 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 (10): * Single equations (assignments): 10 * 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.812e-05/0.412, allocations: 112.8 kB / 0.7459 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.412, allocations: 11.59 kB / 0.7459 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.4123, allocations: 119.5 kB / 0.746 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4123, allocations: 0 / 0.746 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4123, allocations: 7.875 kB / 0.746 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4123, allocations: 0 / 0.746 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.4125, allocations: 193 kB / 0.7462 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4125, allocations: 3.938 kB / 0.7462 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4127, allocations: 32.03 kB / 0.7463 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4127, allocations: 0 / 0.7463 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4127, allocations: 0 / 0.7463 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4127, allocations: 0 / 0.7463 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4127, allocations: 5.25 kB / 0.7463 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001932/0.4129, allocations: 284.5 kB / 0.7465 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.4129, allocations: 86.34 kB / 0.7466 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.413, allocations: 3.906 kB / 0.7466 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4132, allocations: 19.64 kB / 0.7466 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4132, allocations: 6.391 kB / 0.7466 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4132, allocations: 3.875 kB / 0.7466 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.608e-05/0.4133, allocations: 114.2 kB / 0.7468 GB, free: 24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002472/0.4135, allocations: 23.22 kB / 0.7468 GB, free: 24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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 7.593e-05/0.4136, allocations: 100.4 kB / 0.7469 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.4138, allocations: 68.66 kB / 0.7469 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4138, allocations: 7.938 kB / 0.7469 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.4138, allocations: 37.56 kB / 0.747 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.4141, allocations: 31.48 kB / 0.747 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.4144, allocations: 155.1 kB / 0.7472 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.4147, allocations: 0.7366 MB / 0.7479 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.4147, allocations: 0 / 0.7479 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.003738/0.4185, allocations: 1.937 MB / 0.7498 GB, free: 22.95 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)