Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") [: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.26/2.26, 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.001809/0.001808, allocations: 181.2 kB / 319.6 MB, free: 3.32 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.818/1.818, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001306/0.001305, allocations: 106.2 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.198e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2367, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.593/6.83, allocations: 2.473 GB / 3.361 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/6.83, allocations: 90.67 kB / 3.361 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 20.68/27.51, allocations: 4.061 GB / 7.422 GB, free: 88.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.007421/27.52, allocations: 0.5585 MB / 7.422 GB, free: 88.46 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.09854/27.62, allocations: 17.99 MB / 7.44 GB, free: 82.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/27.62, allocations: 9.844 kB / 7.44 GB, free: 82.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04268/27.66, allocations: 3.851 MB / 7.444 GB, free: 80.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1279/27.79, allocations: 28.99 MB / 7.472 GB, free: 78.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/27.79, allocations: 0.5314 MB / 7.473 GB, free: 78.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009056/27.8, allocations: 0.9697 MB / 7.473 GB, free: 78.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07209/27.87, allocations: 19.86 MB / 7.493 GB, free: 78.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09676/27.97, allocations: 22.43 MB / 7.515 GB, free: 75.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001456/27.97, allocations: 67.72 kB / 7.515 GB, free: 75.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008918/27.98, allocations: 33.88 kB / 7.515 GB, free: 75.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/27.98, allocations: 0.9051 MB / 7.516 GB, free: 75.92 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3077/28.29, allocations: 96.31 MB / 7.61 GB, free: 39.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04319/28.33, allocations: 13.8 MB / 7.623 GB, free: 38.51 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0211/28.35, allocations: 7.742 MB / 7.631 GB, free: 38.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003988/28.36, allocations: 2.033 MB / 7.633 GB, free: 36.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02443/28.38, allocations: 7.523 MB / 7.64 GB, free: 36.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1020): time 2.05e-05/28.38, allocations: 2.094 kB / 7.64 GB, free: 36.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=1020): time 0.0761/28.46, allocations: 15.15 MB / 7.655 GB, free: 35.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002492/28.46, allocations: 421.6 kB / 7.655 GB, free: 34.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05773/28.52, allocations: 15.16 MB / 7.67 GB, free: 30.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003938/28.52, allocations: 36.08 kB / 7.67 GB, free: 30.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.03453/28.56, allocations: 6.648 MB / 7.677 GB, free: 25.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0314/28.59, allocations: 3.437 MB / 7.68 GB, free: 22.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003715/28.59, allocations: 0 / 7.68 GB, free: 22.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.002023/28.59, allocations: 0.8288 MB / 7.681 GB, free: 22.37 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02234/28.62, allocations: 6.264 MB / 7.687 GB, free: 20.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02674/28.64, allocations: 9.801 MB / 7.697 GB, free: 13.49 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05339/28.7, allocations: 10.55 MB / 7.707 GB, free: 7.922 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002477/28.7, allocations: 28 kB / 7.707 GB, free: 7.895 MB / 0.948 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.102/28.8, allocations: 19.64 MB / 7.726 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.5682/29.37, allocations: 67.83 MB / 7.792 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005518/29.37, allocations: 106.3 kB / 7.792 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/29.37, allocations: 187.3 kB / 7.793 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03489/29.4, allocations: 3.461 MB / 7.796 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003875/29.4, allocations: 244.8 kB / 7.796 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03643/29.44, allocations: 1.841 MB / 7.798 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004676/29.44, allocations: 0.6222 MB / 7.799 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/29.44, allocations: 3.938 kB / 7.799 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.081/29.52, allocations: 18.05 MB / 7.816 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004228/29.53, allocations: 108.1 kB / 7.816 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/29.53, allocations: 193.1 kB / 7.817 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03444/29.56, allocations: 3.461 MB / 7.82 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003487/29.56, allocations: 245.8 kB / 7.82 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03452/29.6, allocations: 1.597 MB / 7.822 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00495/29.6, allocations: 0.6155 MB / 7.822 GB, free: 105 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * 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 (1636): * Single equations (assignments): 1636 * 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.008218/29.61, allocations: 467.9 kB / 7.823 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009589/29.62, allocations: 1.511 MB / 7.824 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08959/29.71, allocations: 17.22 MB / 7.841 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001172/29.71, allocations: 109.9 kB / 7.841 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/29.71, allocations: 0 / 7.841 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06672/29.77, allocations: 13.86 MB / 7.855 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1553/29.93, allocations: 37.06 MB / 7.891 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-05/29.93, allocations: 15.53 kB / 7.891 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02933/29.96, allocations: 2.427 MB / 7.893 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/29.96, allocations: 52.97 kB / 7.893 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003521/29.96, allocations: 226.7 kB / 7.894 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001547/29.96, allocations: 62.3 kB / 7.894 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-05/29.96, allocations: 29.28 kB / 7.894 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09855/30.06, allocations: 30.31 MB / 7.923 GB, free: 94.16 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02061/30.08, allocations: 4.329 MB / 7.927 GB, free: 93.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01008/30.09, allocations: 81.45 kB / 7.928 GB, free: 93.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03281/30.13, allocations: 0.9416 MB / 7.928 GB, free: 93.22 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003543/30.13, allocations: 0.5542 MB / 7.929 GB, free: 93.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004338/30.13, allocations: 0.4976 MB / 7.929 GB, free: 93.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0387/30.17, allocations: 11.67 MB / 7.941 GB, free: 92.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06085/30.23, allocations: 10.26 MB / 7.951 GB, free: 91.56 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 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 (1040): * Single equations (assignments): 1034 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.007341/30.24, allocations: 1.314 MB / 7.952 GB, free: 91.38 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.07072/30.31, allocations: 23.58 MB / 7.975 GB, free: 91.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.525e-05/30.31, allocations: 15.95 kB / 7.975 GB, free: 91.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.02082/30.33, allocations: 6.496 MB / 7.982 GB, free: 90.89 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08534/30.42, allocations: 8.827 MB / 7.99 GB, free: 90.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.158/30.58, allocations: 39.27 MB / 8.029 GB, free: 83.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05724/30.63, allocations: 14.97 MB / 8.043 GB, free: 76.09 MB / 0.9792 GB Notification: Performance of SimCode: time 1.723e-06/30.63, allocations: 0 / 8.043 GB, free: 76.09 MB / 0.9792 GB Notification: Performance of Templates: time 2.25/32.88, allocations: 424.5 MB / 8.458 GB, free: 37.8 MB / 0.9793 GB