Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003529/0.003529, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7011/0.7011, allocations: 130.6 MB / 138.5 MB, free: 2.191 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.0009366/0.0009366, allocations: 102.2 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.791e-06, allocations: 0 / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5757, allocations: 110.9 MB / 0.7359 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.576, allocations: 76.97 kB / 0.7359 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004899/0.5809, allocations: 1.605 MB / 0.7375 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.581, allocations: 3.75 kB / 0.7375 GB, free: 11.21 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.0005809/0.5816, allocations: 426.4 kB / 0.7379 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5816, allocations: 7.75 kB / 0.7379 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.5817, allocations: 15.34 kB / 0.7379 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.5819, allocations: 200.2 kB / 0.7381 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5819, allocations: 3.875 kB / 0.7381 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.5819, allocations: 7.797 kB / 0.7381 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001397/0.5821, allocations: 54.38 kB / 0.7382 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5822, allocations: 93.66 kB / 0.7383 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5823, allocations: 1.531 kB / 0.7383 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.5823, allocations: 7.719 kB / 0.7383 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5823, allocations: 3.938 kB / 0.7383 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.583, allocations: 442.1 kB / 0.7387 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.5832, allocations: 106.6 kB / 0.7388 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.5833, allocations: 45.69 kB / 0.7389 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.5834, allocations: 1.453 kB / 0.7389 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.5834, allocations: 36.97 kB / 0.7389 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.5834, allocations: 0 / 0.7389 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002479/0.5836, allocations: 98.22 kB / 0.739 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5837, allocations: 81.02 kB / 0.7391 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.5838, allocations: 143.3 kB / 0.7392 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5839, allocations: 29.7 kB / 0.7392 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.5839, allocations: 95.62 kB / 0.7393 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.5839, allocations: 33.62 kB / 0.7393 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.584, allocations: 0 / 0.7393 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5841, allocations: 326.9 kB / 0.7397 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.5841, allocations: 22.38 kB / 0.7397 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.5842, allocations: 38.2 kB / 0.7397 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.641e-05/0.5843, allocations: 39.14 kB / 0.7398 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5843, allocations: 0 / 0.7398 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001578/0.5844, allocations: 110.7 kB / 0.7399 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5844, allocations: 3.844 kB / 0.7399 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5845, allocations: 0 / 0.7399 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5845, allocations: 0.9844 kB / 0.7399 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5846, allocations: 27.73 kB / 0.7399 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5847, allocations: 7.938 kB / 0.7399 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.5848, allocations: 13.88 kB / 0.7399 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.5848, allocations: 3.312 kB / 0.7399 GB, free: 25.34 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 7.885e-05/0.5849, allocations: 110.1 kB / 0.74 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.5849, allocations: 11.62 kB / 0.74 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.5852, allocations: 123.9 kB / 0.7402 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5852, allocations: 0 / 0.7402 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5852, allocations: 3.844 kB / 0.7402 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5852, allocations: 1.734 kB / 0.7402 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.5854, allocations: 190 kB / 0.7403 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5855, allocations: 0 / 0.7403 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.5856, allocations: 35.06 kB / 0.7404 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5856, allocations: 0 / 0.7404 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5856, allocations: 0 / 0.7404 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5856, allocations: 1.219 kB / 0.7404 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5857, allocations: 3.812 kB / 0.7404 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002605/0.5859, allocations: 288.5 kB / 0.7407 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.586, allocations: 84.89 kB / 0.7407 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.586, allocations: 7.906 kB / 0.7407 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.5862, allocations: 14.56 kB / 0.7408 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.5863, allocations: 10.67 kB / 0.7408 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.5863, allocations: 3.906 kB / 0.7408 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.809e-05/0.5863, allocations: 120.9 kB / 0.7409 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002582/0.5866, allocations: 27 kB / 0.7409 GB, free: 24.59 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 0.0001062/0.5867, allocations: 104.3 kB / 0.741 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.5869, allocations: 65.81 kB / 0.7411 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.5869, allocations: 0 / 0.7411 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.587, allocations: 38.12 kB / 0.7411 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.5872, allocations: 39.92 kB / 0.7411 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.5876, allocations: 150.9 kB / 0.7413 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.588, allocations: 0.733 MB / 0.742 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.588, allocations: 0 / 0.742 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.004074/0.592, allocations: 1.926 MB / 0.7439 GB, free: 23.56 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)