Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") [: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.121/2.121, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.001669/0.001668, allocations: 192.5 kB / 319.6 MB, free: 3.305 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.978/1.978, allocations: 205.4 MB / 0.5704 GB, free: 14.97 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.001358/0.001358, allocations: 98.33 kB / 0.6746 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.31e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2865, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.31/6.597, allocations: 2.476 GB / 3.364 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.597, allocations: 93.88 kB / 3.364 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.02/13.62, allocations: 1.442 GB / 4.806 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001585/13.62, allocations: 187.8 kB / 4.806 GB, free: 113.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.0344/13.65, allocations: 6.642 MB / 4.813 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/13.65, allocations: 8.031 kB / 4.813 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03125/13.68, allocations: 2.699 MB / 4.815 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03612/13.72, allocations: 7.924 MB / 4.823 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004636/13.72, allocations: 188 kB / 4.823 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003147/13.72, allocations: 343.9 kB / 4.824 GB, free: 98.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02652/13.75, allocations: 6.95 MB / 4.83 GB, free: 91.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02916/13.78, allocations: 7.063 MB / 4.837 GB, free: 83.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/13.78, allocations: 11.94 kB / 4.837 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002501/13.78, allocations: 15.89 kB / 4.837 GB, free: 83.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002828/13.78, allocations: 271.2 kB / 4.837 GB, free: 83.54 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09204/13.88, allocations: 31.28 MB / 4.868 GB, free: 51.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/13.89, allocations: 4.653 MB / 4.873 GB, free: 46.85 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00781/13.9, allocations: 2.616 MB / 4.875 GB, free: 44.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003829/13.9, allocations: 2.407 MB / 4.877 GB, free: 41.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009551/13.91, allocations: 2.816 MB / 4.88 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 1.097e-05/13.91, allocations: 4 kB / 4.88 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.04138/13.95, allocations: 6.152 MB / 4.886 GB, free: 32.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/13.95, allocations: 385.7 kB / 4.887 GB, free: 31.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/13.97, allocations: 4.585 MB / 4.891 GB, free: 27.31 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001706/13.97, allocations: 33.64 kB / 4.891 GB, free: 27.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004329/13.97, allocations: 2.121 MB / 4.893 GB, free: 25.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003735/13.98, allocations: 1.366 MB / 4.895 GB, free: 23.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008364/13.98, allocations: 7.969 kB / 4.895 GB, free: 23.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004466/13.98, allocations: 479.5 kB / 4.895 GB, free: 23.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007048/13.99, allocations: 2.09 MB / 4.897 GB, free: 21.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008405/13.99, allocations: 3.037 MB / 4.9 GB, free: 17.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0373/14.03, allocations: 3.922 MB / 4.904 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.127e-05/14.03, allocations: 8 kB / 4.904 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.04449/14.08, allocations: 7.125 MB / 4.911 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003703/14.08, allocations: 10.56 MB / 4.921 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/14.08, allocations: 24 kB / 4.921 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/14.08, allocations: 44 kB / 4.921 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0156/14.1, allocations: 1.287 MB / 4.922 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001406/14.1, allocations: 59.7 kB / 4.923 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/14.11, allocations: 0.6633 MB / 4.923 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/14.11, allocations: 231.8 kB / 4.923 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/14.11, allocations: 4 kB / 4.923 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04499/14.16, allocations: 6.544 MB / 4.93 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-05/14.16, allocations: 24.03 kB / 4.93 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.459e-05/14.16, allocations: 50.62 kB / 4.93 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/14.17, allocations: 1.279 MB / 4.931 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/14.17, allocations: 67.78 kB / 4.931 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/14.19, allocations: 0.6092 MB / 4.932 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002088/14.19, allocations: 231.8 kB / 4.932 GB, free: 32 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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.4768/14.67, allocations: 200.8 kB / 4.932 GB, free: 213.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004868/14.67, allocations: 0.5503 MB / 4.933 GB, free: 213.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06926/14.74, allocations: 7.425 MB / 4.94 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/14.74, allocations: 45.47 kB / 4.94 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.63e-05/14.74, allocations: 0 / 4.94 GB, free: 213.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04832/14.79, allocations: 5.804 MB / 4.946 GB, free: 212.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07811/14.87, allocations: 14.51 MB / 4.96 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/14.87, allocations: 4.875 kB / 4.96 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01325/14.88, allocations: 1.052 MB / 4.961 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.642e-05/14.88, allocations: 23.78 kB / 4.961 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001549/14.88, allocations: 98.56 kB / 4.961 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.454e-05/14.88, allocations: 28.55 kB / 4.961 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/14.88, allocations: 10.88 kB / 4.961 GB, free: 212.1 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05085/14.93, allocations: 10.73 MB / 4.971 GB, free: 210.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00758/14.94, allocations: 1.594 MB / 4.973 GB, free: 209.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003745/14.95, allocations: 27.88 kB / 4.973 GB, free: 209.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0136/14.96, allocations: 435.1 kB / 4.973 GB, free: 209.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/14.96, allocations: 241.3 kB / 4.974 GB, free: 209.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/14.96, allocations: 194.9 kB / 4.974 GB, free: 209.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.01113/14.97, allocations: 3.547 MB / 4.977 GB, free: 209.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0225/15, allocations: 3.491 MB / 4.981 GB, free: 209.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005852/15, allocations: 1.528 MB / 4.982 GB, free: 209.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02767/15.03, allocations: 8.247 MB / 4.99 GB, free: 209.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.169e-05/15.03, allocations: 3.156 kB / 4.99 GB, free: 209.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.008964/15.04, allocations: 2.563 MB / 4.993 GB, free: 209.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02431/15.06, allocations: 2.432 MB / 4.995 GB, free: 209.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0472/15.11, allocations: 11.62 MB / 5.007 GB, free: 206.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01684/15.13, allocations: 5.087 MB / 5.012 GB, free: 206 MB / 0.9011 GB Notification: Performance of SimCode: time 1.933e-06/15.13, allocations: 0 / 5.012 GB, free: 206 MB / 0.9011 GB Notification: Performance of Templates: time 0.437/15.56, allocations: 154.2 MB / 5.162 GB, free: 159 MB / 0.9011 GB