Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE") [: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 7.0.1/package.mo): time 2.2/2.2, allocations: 253.1 MB / 260.4 MB, free: 7.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 181.3 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 0.5704 GB, free: 15.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 91.38 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.384e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.355/5.545, allocations: 2.192 GB / 3.081 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/5.545, allocations: 86.19 kB / 3.081 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2286/5.774, allocations: 54.66 MB / 3.134 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.383e-05/5.774, allocations: 19.98 kB / 3.134 GB, free: 122.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001763/5.776, allocations: 0.9098 MB / 3.135 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/5.776, allocations: 12.03 kB / 3.135 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/5.779, allocations: 202.8 kB / 3.135 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/5.78, allocations: 0.5229 MB / 3.136 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/5.78, allocations: 7.984 kB / 3.136 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/5.781, allocations: 15.91 kB / 3.136 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008342/5.781, allocations: 276.6 kB / 3.136 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/5.782, allocations: 282.7 kB / 3.136 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/5.782, allocations: 3.938 kB / 3.136 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/5.782, allocations: 3.984 kB / 3.136 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/5.782, allocations: 8 kB / 3.136 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/5.786, allocations: 1.167 MB / 3.137 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/5.787, allocations: 341.5 kB / 3.138 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/5.787, allocations: 169.7 kB / 3.138 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/5.787, allocations: 4 kB / 3.138 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/5.788, allocations: 273.3 kB / 3.138 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/5.788, allocations: 0 / 3.138 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.006457/5.794, allocations: 0.6182 MB / 3.139 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/5.794, allocations: 96.91 kB / 3.139 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/5.797, allocations: 1.168 MB / 3.14 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/5.797, allocations: 29.7 kB / 3.14 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/5.797, allocations: 188.4 kB / 3.14 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/5.798, allocations: 94.66 kB / 3.14 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/5.798, allocations: 0 / 3.14 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/5.798, allocations: 318 kB / 3.14 GB, free: 116 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/5.798, allocations: 143.9 kB / 3.141 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/5.798, allocations: 193.8 kB / 3.141 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/5.799, allocations: 163.9 kB / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/5.799, allocations: 3.938 kB / 3.141 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006228/5.805, allocations: 0.6532 MB / 3.142 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/5.805, allocations: 4 kB / 3.142 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/5.805, allocations: 3.984 kB / 3.142 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/5.806, allocations: 128.8 kB / 3.142 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/5.807, allocations: 63.89 kB / 3.142 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/5.814, allocations: 1.833 MB / 3.144 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/5.815, allocations: 35.83 kB / 3.144 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/5.816, allocations: 23.97 kB / 3.144 GB, free: 112.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001704/5.816, allocations: 112.9 kB / 3.144 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/5.816, allocations: 78.97 kB / 3.144 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007636/5.824, allocations: 0.7587 MB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/5.824, allocations: 4 kB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/5.824, allocations: 4 kB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/5.824, allocations: 3.984 kB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/5.825, allocations: 0.602 MB / 3.145 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/5.825, allocations: 0 / 3.145 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/5.826, allocations: 59.91 kB / 3.145 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005556/5.826, allocations: 128.7 kB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/5.826, allocations: 11.98 kB / 3.145 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/5.834, allocations: 1.845 MB / 3.147 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/5.834, allocations: 0 / 3.147 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006302/5.84, allocations: 0.7008 MB / 3.148 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/5.841, allocations: 228 kB / 3.148 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/5.841, allocations: 7.922 kB / 3.148 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/5.842, allocations: 31.88 kB / 3.148 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/5.842, allocations: 19.97 kB / 3.148 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/5.842, allocations: 19.97 kB / 3.148 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001624/5.844, allocations: 0.9403 MB / 3.149 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00113/5.845, allocations: 195.8 kB / 3.149 GB, free: 106.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/5.846, allocations: 0.9236 MB / 3.15 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001444/5.848, allocations: 485.7 kB / 3.151 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/5.848, allocations: 0 / 3.151 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008645/5.849, allocations: 329.5 kB / 3.151 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/5.85, allocations: 100.2 kB / 3.151 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/5.854, allocations: 1.391 MB / 3.152 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009586/5.855, allocations: 1.055 MB / 3.153 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/5.855, allocations: 0 / 3.153 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03454/5.889, allocations: 14.61 MB / 3.168 GB, free: 87.81 MB / 0.8698 GB