Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") [: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.258/2.258, allocations: 253.1 MB / 260.4 MB, free: 7.676 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.001623/0.001623, allocations: 181 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.863/1.863, 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.001243/0.001243, allocations: 106.9 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.977e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1942, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.259/6.453, allocations: 2.493 GB / 3.381 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/6.454, allocations: 90.25 kB / 3.381 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.936/12.39, allocations: 1.296 GB / 4.677 GB, free: 89.62 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0007973/12.39, allocations: 96.06 kB / 4.677 GB, free: 89.61 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01415/12.4, allocations: 3.349 MB / 4.681 GB, free: 88.31 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/12.4, allocations: 7.5 kB / 4.681 GB, free: 88.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006177/12.41, allocations: 0.6115 MB / 4.681 GB, free: 88.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/12.43, allocations: 4.733 MB / 4.686 GB, free: 87.47 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/12.43, allocations: 76.59 kB / 4.686 GB, free: 87.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/12.43, allocations: 150.9 kB / 4.686 GB, free: 87.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00859/12.44, allocations: 2.461 MB / 4.689 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009934/12.45, allocations: 2.771 MB / 4.691 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/12.45, allocations: 3.156 kB / 4.691 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/12.45, allocations: 3.5 kB / 4.691 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/12.45, allocations: 105.9 kB / 4.691 GB, free: 87.04 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03232/12.48, allocations: 12.93 MB / 4.704 GB, free: 81.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/12.49, allocations: 1.854 MB / 4.706 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/12.49, allocations: 1.079 MB / 4.707 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/12.5, allocations: 4.099 MB / 4.711 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002568/12.51, allocations: 0.9563 MB / 4.712 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=143): time 7.153e-06/12.51, allocations: 5.156 kB / 4.712 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147): time 0.02263/12.53, allocations: 4.892 MB / 4.717 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/12.53, allocations: 117.5 kB / 4.717 GB, free: 78.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006452/12.54, allocations: 2.439 MB / 4.719 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006737/12.54, allocations: 25.7 kB / 4.719 GB, free: 78.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/12.54, allocations: 1.01 MB / 4.72 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/12.54, allocations: 0.4943 MB / 4.721 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/12.54, allocations: 0 / 4.721 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001993/12.54, allocations: 386.8 kB / 4.721 GB, free: 77.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/12.54, allocations: 0.9373 MB / 4.722 GB, free: 77.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/12.55, allocations: 1.552 MB / 4.723 GB, free: 76.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005042/12.55, allocations: 1.319 MB / 4.725 GB, free: 76.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/12.55, allocations: 3.875 kB / 4.725 GB, free: 76.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01172/12.56, allocations: 3.008 MB / 4.728 GB, free: 76.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001576/12.56, allocations: 7.066 MB / 4.735 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/12.56, allocations: 18.66 kB / 4.735 GB, free: 69.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/12.57, allocations: 285.5 kB / 4.735 GB, free: 69.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/12.57, allocations: 494.9 kB / 4.735 GB, free: 69.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/12.58, allocations: 2.582 MB / 4.738 GB, free: 67.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005559/12.58, allocations: 169 kB / 4.738 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008142/12.58, allocations: 115.3 kB / 4.738 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/12.58, allocations: 5.469 kB / 4.738 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009347/12.59, allocations: 2.557 MB / 4.741 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.924e-05/12.59, allocations: 14.78 kB / 4.741 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/12.59, allocations: 296.7 kB / 4.741 GB, free: 67.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/12.6, allocations: 481.5 kB / 4.741 GB, free: 67.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/12.6, allocations: 2.586 MB / 4.744 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/12.61, allocations: 141.5 kB / 4.744 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007964/12.61, allocations: 109.3 kB / 4.744 GB, free: 65.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008438/12.61, allocations: 167 kB / 4.744 GB, free: 65.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/12.61, allocations: 284.1 kB / 4.745 GB, free: 65.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/12.62, allocations: 2.501 MB / 4.747 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/12.62, allocations: 19.34 kB / 4.747 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/12.62, allocations: 3.906 kB / 4.747 GB, free: 64.92 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007017/12.63, allocations: 2.117 MB / 4.749 GB, free: 64.48 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/12.64, allocations: 5.005 MB / 4.754 GB, free: 64.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/12.64, allocations: 0 / 4.754 GB, free: 64.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/12.65, allocations: 272.1 kB / 4.754 GB, free: 64.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/12.65, allocations: 327 kB / 4.755 GB, free: 64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004059/12.65, allocations: 36.89 kB / 4.755 GB, free: 64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008276/12.66, allocations: 8.581 MB / 4.763 GB, free: 56.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/12.66, allocations: 3.969 kB / 4.763 GB, free: 56.76 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00987/12.67, allocations: 3.558 MB / 4.766 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/12.67, allocations: 0.6374 MB / 4.767 GB, free: 55.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/12.67, allocations: 16.97 kB / 4.767 GB, free: 55.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004123/12.68, allocations: 108.1 kB / 4.767 GB, free: 55.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/12.68, allocations: 90.31 kB / 4.767 GB, free: 55.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/12.68, allocations: 72.12 kB / 4.767 GB, free: 55.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.004532/12.68, allocations: 1.812 MB / 4.769 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01029/12.69, allocations: 1.674 MB / 4.771 GB, free: 55.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004867/12.7, allocations: 2.127 MB / 4.773 GB, free: 55.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01172/12.71, allocations: 3.928 MB / 4.777 GB, free: 54.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/12.71, allocations: 4.312 kB / 4.777 GB, free: 54.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003476/12.71, allocations: 1.596 MB / 4.778 GB, free: 54.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01288/12.73, allocations: 1.382 MB / 4.78 GB, free: 53.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/12.74, allocations: 5.497 MB / 4.785 GB, free: 52.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005491/12.75, allocations: 2.717 MB / 4.788 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of SimCode: time 1.874e-06/12.75, allocations: 4 kB / 4.788 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of Templates: time 0.2071/12.96, allocations: 78.43 MB / 4.864 GB, free: 14.64 MB / 0.8698 GB