Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") [: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.373/2.373, allocations: 253.1 MB / 260.4 MB, free: 0.5859 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.00169/0.00169, allocations: 180.8 kB / 319.6 MB, free: 7.707 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 2.142/2.142, allocations: 205.4 MB / 0.5704 GB, free: 25.89 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.001353/0.001352, allocations: 92.02 kB / 0.6746 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.084e-05, allocations: 0 / 0.7843 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5367, allocations: 106.2 MB / 0.888 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.823/7.36, allocations: 2.475 GB / 3.363 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/7.36, allocations: 87.03 kB / 3.363 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 21/28.36, allocations: 4.064 GB / 7.427 GB, free: 87.23 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.005597/28.36, allocations: 0.565 MB / 7.428 GB, free: 87.23 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.09104/28.45, allocations: 18.16 MB / 7.446 GB, free: 82.73 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/28.45, allocations: 9.938 kB / 7.446 GB, free: 82.73 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04231/28.49, allocations: 4.123 MB / 7.45 GB, free: 81.48 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1282/28.62, allocations: 29.13 MB / 7.478 GB, free: 79.14 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/28.62, allocations: 0.5292 MB / 7.479 GB, free: 79.14 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009073/28.63, allocations: 0.98 MB / 7.48 GB, free: 79.13 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07359/28.71, allocations: 20.07 MB / 7.499 GB, free: 79.06 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09297/28.8, allocations: 22.48 MB / 7.521 GB, free: 76.49 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001606/28.8, allocations: 73.08 kB / 7.521 GB, free: 76.48 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008854/28.81, allocations: 29.16 kB / 7.521 GB, free: 76.48 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/28.81, allocations: 0.9062 MB / 7.522 GB, free: 76.44 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2565/29.07, allocations: 96.33 MB / 7.616 GB, free: 39.71 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04358/29.11, allocations: 13.78 MB / 7.63 GB, free: 39.12 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02271/29.13, allocations: 7.833 MB / 7.637 GB, free: 39 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00405/29.14, allocations: 2.033 MB / 7.639 GB, free: 37.02 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02432/29.16, allocations: 7.143 MB / 7.646 GB, free: 36.81 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1035): time 1.582e-05/29.16, allocations: 0 / 7.646 GB, free: 36.81 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1035): time 0.1008/29.26, allocations: 15.28 MB / 7.661 GB, free: 35.74 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002385/29.26, allocations: 417.6 kB / 7.662 GB, free: 35.36 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05143/29.32, allocations: 15.21 MB / 7.676 GB, free: 32.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.00377/29.32, allocations: 37.17 kB / 7.676 GB, free: 32.07 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0254/29.34, allocations: 6.647 MB / 7.683 GB, free: 27.55 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.02523/29.37, allocations: 3.486 MB / 7.686 GB, free: 24.84 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003293/29.37, allocations: 3.406 kB / 7.686 GB, free: 24.84 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001641/29.38, allocations: 0.8349 MB / 7.687 GB, free: 24.3 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01972/29.39, allocations: 6.316 MB / 7.693 GB, free: 22 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02401/29.42, allocations: 9.875 MB / 7.703 GB, free: 15.36 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07643/29.5, allocations: 11.69 MB / 7.714 GB, free: 12.27 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002408/29.5, allocations: 31.31 kB / 7.714 GB, free: 12.27 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1287/29.62, allocations: 21.5 MB / 7.735 GB, free: 14.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.517/30.14, allocations: 68.11 MB / 7.802 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004771/30.14, allocations: 110.1 kB / 7.802 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/30.14, allocations: 188.9 kB / 7.802 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03467/30.18, allocations: 3.532 MB / 7.806 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/30.18, allocations: 238.9 kB / 7.806 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03675/30.21, allocations: 1.877 MB / 7.808 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0047/30.22, allocations: 0.6312 MB / 7.808 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/30.22, allocations: 7.156 kB / 7.808 GB, free: 149.2 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1053/30.32, allocations: 19.29 MB / 7.827 GB, free: 149 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004811/30.32, allocations: 107.3 kB / 7.827 GB, free: 149 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/30.33, allocations: 189.3 kB / 7.827 GB, free: 149 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03475/30.36, allocations: 3.526 MB / 7.831 GB, free: 149 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003529/30.36, allocations: 242.6 kB / 7.831 GB, free: 149 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03431/30.39, allocations: 1.648 MB / 7.833 GB, free: 149 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004704/30.4, allocations: 0.6276 MB / 7.833 GB, free: 149 MB / 0.9793 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1657): * Single equations (assignments): 1657 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007906/30.41, allocations: 467.5 kB / 7.834 GB, free: 148.9 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008947/30.42, allocations: 1.52 MB / 7.835 GB, free: 148.9 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08859/30.51, allocations: 17.37 MB / 7.852 GB, free: 148.4 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001497/30.51, allocations: 105 kB / 7.852 GB, free: 148.4 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.199e-05/30.51, allocations: 3.562 kB / 7.852 GB, free: 148.4 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06734/30.57, allocations: 13.99 MB / 7.866 GB, free: 148.1 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1505/30.72, allocations: 37.2 MB / 7.902 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/30.72, allocations: 2.062 kB / 7.902 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02938/30.75, allocations: 2.464 MB / 7.905 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/30.75, allocations: 38.75 kB / 7.905 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003619/30.76, allocations: 225.5 kB / 7.905 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001603/30.76, allocations: 33.03 kB / 7.905 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/30.76, allocations: 9.828 kB / 7.905 GB, free: 146.6 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09679/30.85, allocations: 25.02 MB / 7.93 GB, free: 144.6 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0202/30.87, allocations: 4.324 MB / 7.934 GB, free: 143.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009345/30.88, allocations: 70.98 kB / 7.934 GB, free: 143.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03313/30.92, allocations: 1.106 MB / 7.935 GB, free: 143.7 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004921/30.92, allocations: 0.5157 MB / 7.935 GB, free: 143.6 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006018/30.93, allocations: 0.4894 MB / 7.936 GB, free: 143.6 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.03699/30.96, allocations: 11.69 MB / 7.947 GB, free: 143.2 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.05814/31.02, allocations: 10.31 MB / 7.957 GB, free: 141.9 MB / 0.9793 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1059): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007622/31.03, allocations: 1.508 MB / 7.959 GB, free: 141.8 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.07228/31.1, allocations: 24 MB / 7.982 GB, free: 141.5 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-05/31.1, allocations: 12.17 kB / 7.982 GB, free: 141.5 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.02131/31.12, allocations: 6.655 MB / 7.989 GB, free: 141.3 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08348/31.21, allocations: 8.842 MB / 7.997 GB, free: 141.2 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1487/31.36, allocations: 39.1 MB / 8.036 GB, free: 133.7 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05079/31.41, allocations: 15.04 MB / 8.05 GB, free: 132.2 MB / 0.9793 GB Notification: Performance of SimCode: time 1.423e-06/31.41, allocations: 0 / 8.05 GB, free: 132.2 MB / 0.9793 GB Notification: Performance of Templates: time 1.619/33.03, allocations: 427.4 MB / 8.468 GB, free: 97.59 MB / 0.9793 GB