Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7028/0.7028, allocations: 141.8 MB / 149.1 MB, free: 3.641 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 186.8 kB / 181.9 MB, free: 15.42 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 221.4 MB / 436 MB, free: 8.539 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.44 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 273.8 kB / 0.5884 GB, free: 11.62 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.927e-06/8.977e-06, allocations: 3.938 kB / 0.6759 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3252, allocations: 82.75 MB / 0.7567 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.0979/0.4232, allocations: 108.5 MB / 0.8626 GB, free: 3.566 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001462/0.4233, allocations: 73.11 kB / 0.8627 GB, free: 3.496 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.004439/0.4278, allocations: 1.607 MB / 0.8643 GB, free: 1.926 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.4278, allocations: 4 kB / 0.8643 GB, free: 1.922 MB / 0.5263 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.0004951/0.4283, allocations: 422.2 kB / 0.8647 GB, free: 1.465 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4284, allocations: 8.031 kB / 0.8647 GB, free: 1.457 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.4284, allocations: 15.81 kB / 0.8647 GB, free: 1.441 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4286, allocations: 210.7 kB / 0.8649 GB, free: 1.195 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4286, allocations: 4 kB / 0.8649 GB, free: 1.191 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.4287, allocations: 4 kB / 0.8649 GB, free: 1.188 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/0.4288, allocations: 55.94 kB / 0.865 GB, free: 1.133 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.429, allocations: 95.38 kB / 0.8651 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.429, allocations: 0 / 0.8651 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.429, allocations: 0 / 0.8651 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.429, allocations: 0 / 0.8651 GB, free: 1.027 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.4297, allocations: 449.2 kB / 0.8655 GB, free: 0.5469 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.4299, allocations: 97.34 kB / 0.8656 GB, free: 444 kB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.43, allocations: 53.73 kB / 0.8656 GB, free: 384 kB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.43, allocations: 4 kB / 0.8656 GB, free: 380 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.4301, allocations: 30.56 kB / 0.8657 GB, free: 340 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.4301, allocations: 1.969 kB / 0.8657 GB, free: 340 kB / 0.5263 GB Notification: Performance of matching and sorting (n=9): time 0.0002543/0.4303, allocations: 97.59 kB / 0.8658 GB, free: 236 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.4304, allocations: 85.03 kB / 0.8658 GB, free: 132 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.4305, allocations: 139.3 kB / 0.866 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.4306, allocations: 29.7 kB / 0.866 GB, free: 15.94 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.4307, allocations: 96.03 kB / 0.8661 GB, free: 15.84 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4307, allocations: 31.55 kB / 0.8661 GB, free: 15.81 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.4307, allocations: 0 / 0.8661 GB, free: 15.81 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4309, allocations: 330.7 kB / 0.8664 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.4309, allocations: 24 kB / 0.8665 GB, free: 15.46 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.431, allocations: 33.72 kB / 0.8665 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.4311, allocations: 32.06 kB / 0.8665 GB, free: 15.39 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4311, allocations: 4 kB / 0.8665 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.4313, allocations: 105.5 kB / 0.8666 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4313, allocations: 4 kB / 0.8666 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4313, allocations: 3.938 kB / 0.8666 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4314, allocations: 1.031 kB / 0.8666 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.4316, allocations: 27.98 kB / 0.8667 GB, free: 15.24 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4316, allocations: 6.719 kB / 0.8667 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4318, allocations: 19.98 kB / 0.8667 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.4318, allocations: 4 kB / 0.8667 GB, free: 15.21 MB / 0.5419 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 0.0001024/0.4319, allocations: 113.8 kB / 0.8668 GB, free: 15.09 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.432, allocations: 11.81 kB / 0.8668 GB, free: 15.08 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.4322, allocations: 118.7 kB / 0.8669 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4323, allocations: 0 / 0.8669 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.4323, allocations: 4 kB / 0.8669 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4323, allocations: 0 / 0.8669 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4326, allocations: 191 kB / 0.8671 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4326, allocations: 0 / 0.8671 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.4328, allocations: 35.91 kB / 0.8672 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4328, allocations: 0 / 0.8672 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4328, allocations: 4 kB / 0.8672 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4328, allocations: 0 / 0.8672 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4328, allocations: 0 / 0.8672 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002867/0.4331, allocations: 285.3 kB / 0.8674 GB, free: 14.39 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.4332, allocations: 92.91 kB / 0.8675 GB, free: 14.29 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.4332, allocations: 8 kB / 0.8675 GB, free: 14.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4334, allocations: 11.98 kB / 0.8675 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4335, allocations: 4 kB / 0.8675 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4335, allocations: 4 kB / 0.8675 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001254/0.4336, allocations: 129.1 kB / 0.8677 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002754/0.4339, allocations: 24 kB / 0.8677 GB, free: 14.11 MB / 0.5419 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.0001058/0.434, allocations: 103.2 kB / 0.8678 GB, free: 14 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.4342, allocations: 63.94 kB / 0.8678 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4342, allocations: 0 / 0.8678 GB, free: 13.94 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.4343, allocations: 35.94 kB / 0.8679 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4346, allocations: 35.25 kB / 0.8679 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.435, allocations: 160.7 kB / 0.8681 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.4354, allocations: 0.7192 MB / 0.8688 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of SimCode: time 4.31e-07/0.4354, allocations: 4 kB / 0.8688 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of Templates: time 0.004532/0.44, allocations: 1.936 MB / 0.8707 GB, free: 11.08 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)