Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001129/0.001129, allocations: 184.4 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4522/0.4522, allocations: 90.84 MB / 99.07 MB, free: 14.87 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.4 MB / 342.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009045/0.0009044, allocations: 88.2 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.631e-06/5.671e-06, allocations: 0 / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3193, allocations: 72.3 MB / 0.5529 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.4269, allocations: 101.3 MB / 0.6519 GB, free: 8.664 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4272, allocations: 68.81 kB / 0.6519 GB, free: 8.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005177/0.4324, allocations: 1.61 MB / 0.6535 GB, free: 7.047 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.4325, allocations: 9.25 kB / 0.6535 GB, free: 7.039 MB / 474.7 MB 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.0005557/0.433, allocations: 426.1 kB / 0.6539 GB, free: 6.578 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4331, allocations: 8.031 kB / 0.6539 GB, free: 6.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.4331, allocations: 15.81 kB / 0.6539 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.4334, allocations: 204.5 kB / 0.6541 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4334, allocations: 4 kB / 0.6541 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4334, allocations: 4 kB / 0.6541 GB, free: 6.309 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001592/0.4336, allocations: 52 kB / 0.6542 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4337, allocations: 106.5 kB / 0.6543 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4338, allocations: 3.828 kB / 0.6543 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4338, allocations: 0 / 0.6543 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4338, allocations: 0 / 0.6543 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.4345, allocations: 445.3 kB / 0.6547 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.4347, allocations: 105.3 kB / 0.6548 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.4348, allocations: 45.72 kB / 0.6549 GB, free: 5.496 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4349, allocations: 0 / 0.6549 GB, free: 5.496 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4349, allocations: 38.56 kB / 0.6549 GB, free: 5.449 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/0.4349, allocations: 0 / 0.6549 GB, free: 5.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002745/0.4352, allocations: 105.6 kB / 0.655 GB, free: 5.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4353, allocations: 77.11 kB / 0.6551 GB, free: 5.246 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4354, allocations: 144.8 kB / 0.6552 GB, free: 5.094 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4354, allocations: 25.7 kB / 0.6552 GB, free: 5.062 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.4355, allocations: 96.03 kB / 0.6553 GB, free: 4.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.4355, allocations: 31.55 kB / 0.6554 GB, free: 4.934 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.4355, allocations: 0 / 0.6554 GB, free: 4.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4356, allocations: 322.8 kB / 0.6557 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.4357, allocations: 23.28 kB / 0.6557 GB, free: 4.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.4358, allocations: 41.66 kB / 0.6557 GB, free: 4.543 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.4359, allocations: 37.42 kB / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4359, allocations: 0 / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.436, allocations: 105.5 kB / 0.6559 GB, free: 4.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4361, allocations: 4 kB / 0.6559 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4361, allocations: 1.562 kB / 0.6559 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4361, allocations: 0 / 0.6559 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.4363, allocations: 35.92 kB / 0.6559 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4363, allocations: 1.484 kB / 0.6559 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.4364, allocations: 19.89 kB / 0.6559 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4364, allocations: 0 / 0.6559 GB, free: 4.34 MB / 474.7 MB 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.225e-05/0.4365, allocations: 108.9 kB / 0.656 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.4366, allocations: 11.81 kB / 0.656 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.4368, allocations: 122.7 kB / 0.6562 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4369, allocations: 0 / 0.6562 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4369, allocations: 0 / 0.6562 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4369, allocations: 4 kB / 0.6562 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4371, allocations: 202.9 kB / 0.6563 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4371, allocations: 0 / 0.6563 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4373, allocations: 27.98 kB / 0.6564 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4373, allocations: 0 / 0.6564 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4373, allocations: 0 / 0.6564 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4373, allocations: 6.438 kB / 0.6564 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4373, allocations: 3.938 kB / 0.6564 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002323/0.4376, allocations: 283.1 kB / 0.6567 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.4376, allocations: 92.91 kB / 0.6567 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.4377, allocations: 4 kB / 0.6567 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.4379, allocations: 15.98 kB / 0.6568 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4379, allocations: 4 kB / 0.6568 GB, free: 3.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4379, allocations: 11.92 kB / 0.6568 GB, free: 3.375 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.788e-05/0.438, allocations: 116.9 kB / 0.6569 GB, free: 3.262 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.4383, allocations: 27.98 kB / 0.6569 GB, free: 3.234 MB / 474.7 MB 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 9.796e-05/0.4384, allocations: 95.19 kB / 0.657 GB, free: 3.133 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.4386, allocations: 67.94 kB / 0.6571 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.4386, allocations: 0 / 0.6571 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.4387, allocations: 36 kB / 0.6571 GB, free: 3.031 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.439, allocations: 39.8 kB / 0.6571 GB, free: 2.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.4394, allocations: 153 kB / 0.6573 GB, free: 2.816 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.4398, allocations: 0.7307 MB / 0.658 GB, free: 2.059 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4398, allocations: 0 / 0.658 GB, free: 2.059 MB / 474.7 MB Notification: Performance of Templates: time 0.004383/0.4442, allocations: 1.93 MB / 0.6599 GB, free: 224 kB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)