Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [: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.145/2.145, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001679/0.001678, allocations: 173.1 kB / 319.6 MB, free: 3.336 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.823/1.823, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001367/0.001366, allocations: 98.77 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.318e-06/9.558e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.022/6.232, allocations: 2.21 GB / 3.098 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/6.232, allocations: 83.14 kB / 3.098 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.525/7.757, allocations: 308.2 MB / 3.399 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001815/7.758, allocations: 44 kB / 3.399 GB, free: 199.4 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005664/7.763, allocations: 1.801 MB / 3.401 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/7.763, allocations: 8.031 kB / 3.401 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/7.77, allocations: 0.5322 MB / 3.401 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/7.773, allocations: 0.9884 MB / 3.402 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/7.773, allocations: 59.98 kB / 3.402 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/7.774, allocations: 99.91 kB / 3.402 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005148/7.779, allocations: 1.648 MB / 3.404 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/7.784, allocations: 1.482 MB / 3.405 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.122e-05/7.784, allocations: 3.938 kB / 3.405 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/7.784, allocations: 0 / 3.405 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/7.785, allocations: 44 kB / 3.405 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/7.798, allocations: 4.832 MB / 3.41 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/7.802, allocations: 1.149 MB / 3.411 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/7.803, allocations: 0.5503 MB / 3.412 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/7.804, allocations: 1.136 MB / 3.413 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/7.807, allocations: 0.746 MB / 3.414 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 5.33e-06/7.807, allocations: 0 / 3.414 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.00638/7.813, allocations: 1.305 MB / 3.415 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/7.813, allocations: 252.6 kB / 3.415 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/7.815, allocations: 0.6371 MB / 3.416 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004224/7.815, allocations: 29.7 kB / 3.416 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/7.816, allocations: 0.5037 MB / 3.416 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/7.816, allocations: 441.3 kB / 3.417 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/7.816, allocations: 0 / 3.417 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001152/7.816, allocations: 353.8 kB / 3.417 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/7.818, allocations: 374.5 kB / 3.417 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/7.819, allocations: 0.5231 MB / 3.418 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/7.821, allocations: 470.2 kB / 3.418 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/7.821, allocations: 4 kB / 3.418 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.005563/7.827, allocations: 1.239 MB / 3.42 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/7.827, allocations: 4 kB / 3.42 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/7.827, allocations: 0 / 3.42 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/7.828, allocations: 188.2 kB / 3.42 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/7.832, allocations: 299.6 kB / 3.42 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/7.839, allocations: 6.478 MB / 3.426 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/7.841, allocations: 111.2 kB / 3.427 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/7.842, allocations: 51.88 kB / 3.427 GB, free: 169.8 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004951/7.842, allocations: 128.7 kB / 3.427 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/7.843, allocations: 122.5 kB / 3.427 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006612/7.849, allocations: 1.596 MB / 3.428 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/7.849, allocations: 16 kB / 3.428 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/7.849, allocations: 0 / 3.428 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/7.849, allocations: 11.97 kB / 3.428 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/7.852, allocations: 1.24 MB / 3.43 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/7.852, allocations: 0 / 3.43 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003072/7.855, allocations: 303.6 kB / 3.43 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/7.857, allocations: 192 kB / 3.43 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/7.857, allocations: 23.97 kB / 3.43 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007681/7.865, allocations: 6.478 MB / 3.436 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/7.865, allocations: 4 kB / 3.436 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005154/7.87, allocations: 1.36 MB / 3.438 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/7.872, allocations: 415 kB / 3.438 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/7.872, allocations: 12 kB / 3.438 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/7.875, allocations: 100 kB / 3.438 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/7.875, allocations: 85.11 kB / 3.438 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/7.875, allocations: 67.94 kB / 3.438 GB, free: 157 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001123/7.876, allocations: 0.503 MB / 3.439 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003742/7.88, allocations: 0.6036 MB / 3.44 GB, free: 155.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003583/7.884, allocations: 1.637 MB / 3.441 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00396/7.888, allocations: 1.547 MB / 3.443 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/7.888, allocations: 4.938 kB / 3.443 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/7.89, allocations: 1.13 MB / 3.444 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/7.894, allocations: 400.7 kB / 3.444 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/7.904, allocations: 2.262 MB / 3.446 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/7.906, allocations: 1.471 MB / 3.448 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.773e-06/7.906, allocations: 0 / 3.448 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.07995/7.986, allocations: 32.64 MB / 3.48 GB, free: 115.2 MB / 0.8698 GB