Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") [: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.25/2.25, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.002269/0.002269, allocations: 177.3 kB / 319.6 MB, free: 3.281 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.088/2.088, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001394/0.001393, allocations: 91.31 kB / 0.6746 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.999e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.398/6.615, allocations: 2.475 GB / 3.363 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/6.615, allocations: 87.2 kB / 3.363 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.09/16.71, allocations: 2.049 GB / 5.413 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002537/16.71, allocations: 298.8 kB / 5.413 GB, free: 153.1 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04477/16.76, allocations: 9.588 MB / 5.422 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/16.76, allocations: 11.09 kB / 5.422 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/16.78, allocations: 2.141 MB / 5.424 GB, free: 149 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06978/16.85, allocations: 14.86 MB / 5.439 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009497/16.85, allocations: 281.8 kB / 5.439 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005214/16.85, allocations: 0.5062 MB / 5.44 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04372/16.9, allocations: 10.51 MB / 5.45 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05408/16.95, allocations: 11.56 MB / 5.461 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008798/16.95, allocations: 32.56 kB / 5.461 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004782/16.96, allocations: 16.69 kB / 5.461 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008826/16.96, allocations: 479.1 kB / 5.462 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1676/17.13, allocations: 49.28 MB / 5.51 GB, free: 84.54 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0319/17.16, allocations: 7.004 MB / 5.517 GB, free: 77.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01586/17.17, allocations: 4.022 MB / 5.521 GB, free: 73.56 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003949/17.18, allocations: 1.502 MB / 5.522 GB, free: 71.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01304/17.19, allocations: 3.738 MB / 5.526 GB, free: 68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 1.119e-05/17.19, allocations: 0 / 5.526 GB, free: 68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.04261/17.23, allocations: 7.938 MB / 5.534 GB, free: 59.97 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/17.23, allocations: 343.1 kB / 5.534 GB, free: 59.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02865/17.26, allocations: 7.879 MB / 5.542 GB, free: 51.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.002165/17.27, allocations: 37.7 kB / 5.542 GB, free: 51.65 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.01115/17.28, allocations: 3.449 MB / 5.545 GB, free: 48.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.01081/17.29, allocations: 1.852 MB / 5.547 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/17.29, allocations: 0 / 5.547 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0007085/17.29, allocations: 0.5753 MB / 5.547 GB, free: 45.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00976/17.3, allocations: 3.25 MB / 5.55 GB, free: 42.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/17.31, allocations: 5.078 MB / 5.555 GB, free: 36.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0366/17.35, allocations: 5.98 MB / 5.561 GB, free: 30.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-05/17.35, allocations: 16 kB / 5.561 GB, free: 30.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.06737/17.42, allocations: 10.71 MB / 5.572 GB, free: 19.74 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.4383/17.85, allocations: 27.44 MB / 5.599 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002205/17.85, allocations: 52.28 kB / 5.599 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/17.85, allocations: 94.81 kB / 5.599 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01802/17.87, allocations: 1.84 MB / 5.6 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00021/17.87, allocations: 118.7 kB / 5.601 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01888/17.89, allocations: 0.9758 MB / 5.602 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002487/17.89, allocations: 332.4 kB / 5.602 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/17.89, allocations: 6.656 kB / 5.602 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05394/17.95, allocations: 9.889 MB / 5.612 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/17.95, allocations: 60.11 kB / 5.612 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/17.95, allocations: 98.31 kB / 5.612 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01851/17.97, allocations: 1.835 MB / 5.613 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002072/17.97, allocations: 127.4 kB / 5.614 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01877/17.99, allocations: 0.8501 MB / 5.614 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002817/17.99, allocations: 332.7 kB / 5.615 GB, free: 229.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 (866): * Single equations (assignments): 866 * 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.004586/17.99, allocations: 304.6 kB / 5.615 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005714/18, allocations: 0.7954 MB / 5.616 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04625/18.05, allocations: 9.119 MB / 5.625 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.708e-05/18.05, allocations: 53.81 kB / 5.625 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/18.05, allocations: 0 / 5.625 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04313/18.09, allocations: 7.297 MB / 5.632 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0888/18.18, allocations: 19.33 MB / 5.651 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/18.18, allocations: 3.375 kB / 5.651 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01571/18.19, allocations: 1.304 MB / 5.652 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/18.19, allocations: 16.12 kB / 5.652 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001885/18.2, allocations: 118.5 kB / 5.652 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/18.2, allocations: 21.31 kB / 5.652 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/18.2, allocations: 3.031 kB / 5.652 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05224/18.25, allocations: 13.06 MB / 5.665 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01666/18.27, allocations: 2.311 MB / 5.667 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007225/18.27, allocations: 34.92 kB / 5.667 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01801/18.29, allocations: 0.5898 MB / 5.668 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001992/18.29, allocations: 288.7 kB / 5.668 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001869/18.29, allocations: 267.7 kB / 5.668 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.01944/18.31, allocations: 6.043 MB / 5.674 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03199/18.35, allocations: 5.381 MB / 5.68 GB, free: 226.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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) * 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 (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005305/18.35, allocations: 1.137 MB / 5.681 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03657/18.39, allocations: 12.44 MB / 5.693 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/18.39, allocations: 9.188 kB / 5.693 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01069/18.4, allocations: 3.516 MB / 5.696 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0433/18.44, allocations: 4.522 MB / 5.701 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07931/18.52, allocations: 19.91 MB / 5.72 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0268/18.55, allocations: 8.078 MB / 5.728 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.465e-06/18.55, allocations: 0 / 5.728 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.6232/19.17, allocations: 222.6 MB / 5.945 GB, free: 50.68 MB / 0.8855 GB