Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.129/2.129, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001606, allocations: 185.2 kB / 360.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 92.39 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.533e-06/6.552e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6018, allocations: 115.3 MB / 0.9628 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.8275, allocations: 137.6 MB / 1.097 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.8279, allocations: 71.95 kB / 1.097 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007631/0.8355, allocations: 1.573 MB / 1.099 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.8356, allocations: 4 kB / 1.099 GB, free: 12.06 MB / 0.8073 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.0007701/0.8363, allocations: 430.1 kB / 1.099 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.8364, allocations: 12.03 kB / 1.099 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.8365, allocations: 11.91 kB / 1.099 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.8367, allocations: 206.7 kB / 1.099 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.8368, allocations: 4 kB / 1.099 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.8368, allocations: 4 kB / 1.099 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002244/0.837, allocations: 55.94 kB / 1.099 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.8372, allocations: 95.38 kB / 1.1 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8373, allocations: 0 / 1.1 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.8373, allocations: 3.984 kB / 1.1 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8373, allocations: 0 / 1.1 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.8382, allocations: 449.2 kB / 1.1 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.8387, allocations: 105.2 kB / 1.1 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.8388, allocations: 53.69 kB / 1.1 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.8389, allocations: 0 / 1.1 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.8389, allocations: 34.56 kB / 1.1 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.8389, allocations: 0 / 1.1 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0003744/0.8393, allocations: 93.69 kB / 1.1 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.8394, allocations: 85.03 kB / 1.1 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.8395, allocations: 142.4 kB / 1.1 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.8396, allocations: 29.7 kB / 1.101 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.8396, allocations: 103.9 kB / 1.101 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.8397, allocations: 31.55 kB / 1.101 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.8397, allocations: 0 / 1.101 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8398, allocations: 322.8 kB / 1.101 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.8399, allocations: 24 kB / 1.101 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.8401, allocations: 37.72 kB / 1.101 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.8402, allocations: 32.05 kB / 1.101 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8402, allocations: 4 kB / 1.101 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003008/0.8405, allocations: 105.5 kB / 1.101 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8405, allocations: 5.094 kB / 1.101 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8405, allocations: 3.906 kB / 1.101 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8406, allocations: 0 / 1.101 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.8409, allocations: 27.98 kB / 1.101 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.8409, allocations: 0 / 1.101 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.8411, allocations: 19.98 kB / 1.101 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.8412, allocations: 3.984 kB / 1.101 GB, free: 9.332 MB / 0.8073 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 8.939e-05/0.8413, allocations: 120.5 kB / 1.101 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.8413, allocations: 7.906 kB / 1.101 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.8417, allocations: 122.7 kB / 1.101 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8417, allocations: 0 / 1.101 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.8417, allocations: 7.906 kB / 1.101 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8418, allocations: 0 / 1.101 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.8421, allocations: 190.2 kB / 1.102 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8421, allocations: 3.984 kB / 1.102 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.8424, allocations: 31.92 kB / 1.102 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8424, allocations: 0 / 1.102 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.8425, allocations: 4 kB / 1.102 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.8425, allocations: 3.906 kB / 1.102 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8425, allocations: 3.938 kB / 1.102 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003507/0.8429, allocations: 288.3 kB / 1.102 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.8429, allocations: 85 kB / 1.102 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.843, allocations: 4.469 kB / 1.102 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.8433, allocations: 15.98 kB / 1.102 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.8434, allocations: 7.906 kB / 1.102 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.8434, allocations: 3.938 kB / 1.102 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001124/0.8435, allocations: 120 kB / 1.102 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003978/0.8439, allocations: 24 kB / 1.102 GB, free: 8.219 MB / 0.8073 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.0001284/0.8441, allocations: 103.2 kB / 1.102 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.8443, allocations: 63.94 kB / 1.102 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8443, allocations: 0 / 1.102 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.8445, allocations: 39.94 kB / 1.102 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.8449, allocations: 36.16 kB / 1.102 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.8455, allocations: 152.9 kB / 1.103 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.8459, allocations: 0.7231 MB / 1.103 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.8459, allocations: 4 kB / 1.103 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of Templates: time 0.006862/0.8527, allocations: 1.929 MB / 1.105 GB, free: 5.141 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)