Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Examples.Fanger.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.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Comfort.Examples.Fanger") [: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.094/2.094, allocations: 253.1 MB / 260.4 MB, free: 7.426 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.001547/0.001547, allocations: 188.1 kB / 319.6 MB, free: 3.301 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.826/1.826, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001268/0.001268, allocations: 87.34 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.719e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.192, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.191/5.383, allocations: 2.19 GB / 3.078 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/5.384, allocations: 78.33 kB / 3.078 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1662/5.55, allocations: 50.83 MB / 3.128 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.756e-05/5.55, allocations: 8 kB / 3.128 GB, free: 129.2 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001699/5.552, allocations: 0.6583 MB / 3.128 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/5.552, allocations: 11.97 kB / 3.128 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005402/5.557, allocations: 267.3 kB / 3.129 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/5.558, allocations: 303.3 kB / 3.129 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/5.558, allocations: 8 kB / 3.129 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/5.558, allocations: 20 kB / 3.129 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/5.559, allocations: 377.1 kB / 3.129 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/5.56, allocations: 316.6 kB / 3.13 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/5.56, allocations: 0 / 3.13 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/5.56, allocations: 7.891 kB / 3.13 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/5.56, allocations: 8 kB / 3.13 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/5.565, allocations: 1.081 MB / 3.131 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/5.566, allocations: 302.6 kB / 3.131 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/5.567, allocations: 152.8 kB / 3.131 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/5.567, allocations: 11.98 kB / 3.131 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/5.567, allocations: 34.56 kB / 3.131 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.795e-06/5.567, allocations: 0 / 3.131 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.01095/5.578, allocations: 0.6826 MB / 3.132 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/5.578, allocations: 55.41 kB / 3.132 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/5.578, allocations: 179.9 kB / 3.132 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/5.578, allocations: 25.7 kB / 3.132 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/5.578, allocations: 163.9 kB / 3.132 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/5.578, allocations: 86.75 kB / 3.132 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/5.579, allocations: 0 / 3.132 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/5.579, allocations: 330.8 kB / 3.133 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/5.579, allocations: 124.5 kB / 3.133 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/5.579, allocations: 178.8 kB / 3.133 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/5.58, allocations: 159.8 kB / 3.133 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.58, allocations: 0 / 3.133 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01215/5.592, allocations: 0.7095 MB / 3.134 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/5.592, allocations: 6.5 kB / 3.134 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/5.593, allocations: 0 / 3.134 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/5.594, allocations: 177.5 kB / 3.134 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/5.596, allocations: 63.94 kB / 3.134 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/5.617, allocations: 3.21 MB / 3.137 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/5.62, allocations: 63.83 kB / 3.137 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/5.62, allocations: 23.91 kB / 3.137 GB, free: 119 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002432/5.62, allocations: 112.8 kB / 3.137 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/5.621, allocations: 27.7 kB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/5.638, allocations: 0.7713 MB / 3.138 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/5.638, allocations: 8 kB / 3.138 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/5.638, allocations: 0 / 3.138 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/5.638, allocations: 3.984 kB / 3.138 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/5.655, allocations: 1.103 MB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/5.655, allocations: 3.906 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/5.657, allocations: 63.95 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/5.658, allocations: 173.5 kB / 3.139 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/5.658, allocations: 11.97 kB / 3.139 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/5.679, allocations: 3.198 MB / 3.143 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/5.679, allocations: 4.031 kB / 3.143 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01494/5.694, allocations: 0.7906 MB / 3.143 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/5.694, allocations: 112.8 kB / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/5.695, allocations: 0 / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/5.696, allocations: 51.89 kB / 3.144 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/5.696, allocations: 23.91 kB / 3.144 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/5.696, allocations: 15.97 kB / 3.144 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001806/5.697, allocations: 152.5 kB / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001015/5.698, allocations: 151.7 kB / 3.144 GB, free: 111.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/5.699, allocations: 0.7063 MB / 3.145 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001675/5.7, allocations: 0.5424 MB / 3.145 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/5.7, allocations: 0 / 3.145 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/5.701, allocations: 415.5 kB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/5.702, allocations: 54.69 kB / 3.146 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/5.706, allocations: 0.5449 MB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/5.707, allocations: 0.8149 MB / 3.147 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/5.707, allocations: 0 / 3.147 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03193/5.739, allocations: 15.82 MB / 3.162 GB, free: 92.87 MB / 0.8698 GB