Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1") [: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.234/2.234, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001602/0.001602, allocations: 178.7 kB / 319.6 MB, free: 3.316 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.884/1.884, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001805/0.001805, allocations: 96.88 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.578e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2175, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.551/5.769, allocations: 2.19 GB / 3.079 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/5.769, allocations: 84.89 kB / 3.079 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.5497/6.319, allocations: 166.9 MB / 3.242 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.078e-05/6.319, allocations: 8 kB / 3.242 GB, free: 9.203 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00153/6.321, allocations: 0.7283 MB / 3.242 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/6.321, allocations: 8.031 kB / 3.242 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/6.323, allocations: 167.2 kB / 3.242 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/6.324, allocations: 0.4974 MB / 3.243 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/6.324, allocations: 12 kB / 3.243 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/6.324, allocations: 20 kB / 3.243 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006475/6.325, allocations: 201.2 kB / 3.243 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/6.326, allocations: 287.7 kB / 3.243 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/6.326, allocations: 3.906 kB / 3.243 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/6.326, allocations: 0 / 3.243 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/6.326, allocations: 12.66 kB / 3.243 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/6.329, allocations: 1.404 MB / 3.245 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/6.329, allocations: 157.9 kB / 3.245 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/6.329, allocations: 108.9 kB / 3.245 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/6.33, allocations: 0 / 3.245 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/6.33, allocations: 147.3 kB / 3.245 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.484e-06/6.33, allocations: 0 / 3.245 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.004588/6.335, allocations: 0.991 MB / 3.246 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/6.335, allocations: 59.39 kB / 3.246 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/6.335, allocations: 389 kB / 3.247 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/6.335, allocations: 25.7 kB / 3.247 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/6.336, allocations: 180.2 kB / 3.247 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/6.336, allocations: 102.5 kB / 3.247 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/6.336, allocations: 0 / 3.247 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/6.336, allocations: 354.8 kB / 3.247 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/6.336, allocations: 128.8 kB / 3.247 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/6.337, allocations: 189.5 kB / 3.248 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/6.337, allocations: 156.3 kB / 3.248 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/6.337, allocations: 0 / 3.248 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001576/6.339, allocations: 473.3 kB / 3.248 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/6.339, allocations: 7.938 kB / 3.248 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/6.339, allocations: 0 / 3.248 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/6.339, allocations: 88.88 kB / 3.248 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/6.34, allocations: 67.91 kB / 3.248 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/6.343, allocations: 1.685 MB / 3.25 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/6.344, allocations: 24.08 kB / 3.25 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/6.344, allocations: 12 kB / 3.25 GB, free: 96 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3534/6.697, allocations: 118.3 kB / 3.25 GB, free: 361 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/6.697, allocations: 43.72 kB / 3.25 GB, free: 361 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/6.699, allocations: 379.9 kB / 3.251 GB, free: 360.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/6.699, allocations: 7.703 kB / 3.251 GB, free: 360.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/6.699, allocations: 3.938 kB / 3.251 GB, free: 360.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/6.699, allocations: 3.844 kB / 3.251 GB, free: 360.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/6.701, allocations: 0.9546 MB / 3.251 GB, free: 360.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/6.701, allocations: 1.875 kB / 3.251 GB, free: 360.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/6.702, allocations: 56.62 kB / 3.252 GB, free: 360.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008709/6.703, allocations: 109.5 kB / 3.252 GB, free: 360.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/6.703, allocations: 11 kB / 3.252 GB, free: 360.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/6.705, allocations: 1.655 MB / 3.253 GB, free: 359.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/6.705, allocations: 3.359 kB / 3.253 GB, free: 359.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001642/6.707, allocations: 0.5764 MB / 3.254 GB, free: 359.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/6.708, allocations: 152.5 kB / 3.254 GB, free: 359.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/6.708, allocations: 10.08 kB / 3.254 GB, free: 359.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/6.708, allocations: 15.06 kB / 3.254 GB, free: 359.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/6.708, allocations: 18.47 kB / 3.254 GB, free: 359.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/6.709, allocations: 16.34 kB / 3.254 GB, free: 359.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005232/6.709, allocations: 275.5 kB / 3.254 GB, free: 359 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001255/6.71, allocations: 174.2 kB / 3.254 GB, free: 359 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002214/6.713, allocations: 1.037 MB / 3.255 GB, free: 358.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001567/6.714, allocations: 406.3 kB / 3.256 GB, free: 358.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/6.714, allocations: 3.312 kB / 3.256 GB, free: 358.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/6.715, allocations: 255.3 kB / 3.256 GB, free: 358.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/6.717, allocations: 202.7 kB / 3.256 GB, free: 358.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/6.72, allocations: 0.7503 MB / 3.257 GB, free: 358.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/6.72, allocations: 0.9052 MB / 3.258 GB, free: 357.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/6.72, allocations: 3.469 kB / 3.258 GB, free: 357.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.03088/6.751, allocations: 11.98 MB / 3.27 GB, free: 357.6 MB / 0.8698 GB