Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside") [: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.422/2.422, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.003102/0.003102, allocations: 185.3 kB / 319.6 MB, free: 3.328 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.768/1.768, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001287/0.001287, allocations: 88.84 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.451e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2418, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.63/5.872, allocations: 2.22 GB / 3.108 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/5.873, allocations: 87.7 kB / 3.108 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.898/7.771, allocations: 384.4 MB / 3.483 GB, free: 104 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001868/7.771, allocations: 42.2 kB / 3.483 GB, free: 103.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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005525/7.777, allocations: 1.527 MB / 3.485 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/7.777, allocations: 8.031 kB / 3.485 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/7.781, allocations: 368.5 kB / 3.485 GB, free: 102 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004391/7.785, allocations: 1.106 MB / 3.486 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/7.785, allocations: 39.91 kB / 3.486 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/7.786, allocations: 64 kB / 3.486 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003422/7.789, allocations: 1.289 MB / 3.488 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/7.792, allocations: 1.038 MB / 3.489 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/7.792, allocations: 0 / 3.489 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/7.792, allocations: 7.984 kB / 3.489 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/7.792, allocations: 31.98 kB / 3.489 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008999/7.801, allocations: 3.564 MB / 3.492 GB, free: 94.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/7.803, allocations: 0.9391 MB / 3.493 GB, free: 93.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/7.804, allocations: 395 kB / 3.493 GB, free: 93.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/7.805, allocations: 0.4999 MB / 3.494 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/7.806, allocations: 0.5426 MB / 3.494 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 3.546e-06/7.806, allocations: 4 kB / 3.494 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.005158/7.812, allocations: 1.115 MB / 3.495 GB, free: 91.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/7.812, allocations: 248.1 kB / 3.496 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/7.813, allocations: 0.6134 MB / 3.496 GB, free: 90.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/7.813, allocations: 29.7 kB / 3.496 GB, free: 90.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/7.813, allocations: 395.9 kB / 3.497 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/7.814, allocations: 315.3 kB / 3.497 GB, free: 89.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/7.814, allocations: 7.875 kB / 3.497 GB, free: 89.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/7.814, allocations: 337.9 kB / 3.497 GB, free: 89.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/7.815, allocations: 301.9 kB / 3.498 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/7.816, allocations: 453.8 kB / 3.498 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/7.818, allocations: 0.5151 MB / 3.499 GB, free: 87.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/7.818, allocations: 0 / 3.499 GB, free: 87.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004334/7.822, allocations: 1.092 MB / 3.5 GB, free: 86.69 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/7.822, allocations: 8.625 kB / 3.5 GB, free: 86.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/7.822, allocations: 0 / 3.5 GB, free: 86.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/7.823, allocations: 84.84 kB / 3.5 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/7.825, allocations: 211.7 kB / 3.5 GB, free: 86.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/7.828, allocations: 1.465 MB / 3.501 GB, free: 84.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/7.829, allocations: 95.28 kB / 3.501 GB, free: 84.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/7.83, allocations: 35.98 kB / 3.501 GB, free: 84.68 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: 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 (107): * Single equations (assignments): 106 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000319/7.83, allocations: 128.8 kB / 3.502 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/7.83, allocations: 98.78 kB / 3.502 GB, free: 84.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/7.836, allocations: 1.438 MB / 3.503 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/7.836, allocations: 8 kB / 3.503 GB, free: 82.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/7.836, allocations: 4 kB / 3.503 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/7.836, allocations: 7.969 kB / 3.503 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009403/7.845, allocations: 2.54 MB / 3.506 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/7.845, allocations: 0 / 3.506 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/7.848, allocations: 199.7 kB / 3.506 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/7.85, allocations: 88.91 kB / 3.506 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/7.85, allocations: 27.92 kB / 3.506 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/7.852, allocations: 1.5 MB / 3.507 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/7.852, allocations: 0 / 3.507 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005335/7.858, allocations: 1.821 MB / 3.509 GB, free: 76.53 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/7.859, allocations: 347.5 kB / 3.509 GB, free: 76.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/7.859, allocations: 4 kB / 3.509 GB, free: 76.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/7.861, allocations: 79.83 kB / 3.51 GB, free: 76.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/7.861, allocations: 60.91 kB / 3.51 GB, free: 76.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/7.861, allocations: 47.97 kB / 3.51 GB, free: 75.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009174/7.862, allocations: 0.4913 MB / 3.51 GB, free: 75.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002071/7.864, allocations: 0.505 MB / 3.511 GB, free: 75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003619/7.868, allocations: 1.943 MB / 3.513 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002696/7.87, allocations: 0.9164 MB / 3.513 GB, free: 72.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/7.87, allocations: 7.938 kB / 3.513 GB, free: 72.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/7.872, allocations: 0.5683 MB / 3.514 GB, free: 71.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/7.875, allocations: 336.8 kB / 3.514 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00757/7.882, allocations: 1.956 MB / 3.516 GB, free: 69.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/7.884, allocations: 1.296 MB / 3.517 GB, free: 68.05 MB / 0.8698 GB Notification: Performance of SimCode: time 1.382e-06/7.884, allocations: 0 / 3.517 GB, free: 68.05 MB / 0.8698 GB Notification: Performance of Templates: time 0.06765/7.951, allocations: 28.1 MB / 3.545 GB, free: 40.14 MB / 0.8698 GB