Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.344/2.344, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001585, allocations: 169.3 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.1 MB / 0.6188 GB, free: 12.47 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 80.42 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.405e-06, allocations: 0 / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5834, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.304/5.888, allocations: 2.357 GB / 3.32 GB, free: 123.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/5.888, allocations: 87.7 kB / 3.32 GB, free: 123.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.726/15.61, allocations: 2.097 GB / 5.418 GB, free: 169.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002679/15.62, allocations: 307.5 kB / 5.418 GB, free: 169.3 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04787/15.67, allocations: 9.605 MB / 5.427 GB, free: 165.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/15.67, allocations: 11.19 kB / 5.427 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02151/15.69, allocations: 2.148 MB / 5.429 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06335/15.75, allocations: 14.94 MB / 5.444 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000692/15.75, allocations: 285.3 kB / 5.444 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004443/15.76, allocations: 0.5027 MB / 5.445 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03883/15.79, allocations: 10.5 MB / 5.455 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/15.84, allocations: 11.72 MB / 5.466 GB, free: 155.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007613/15.84, allocations: 30.31 kB / 5.466 GB, free: 155.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004496/15.85, allocations: 24.22 kB / 5.466 GB, free: 155.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005543/15.85, allocations: 474.8 kB / 5.467 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/15.98, allocations: 49.46 MB / 5.515 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01984/16, allocations: 7.011 MB / 5.522 GB, free: 107.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01074/16.01, allocations: 4.026 MB / 5.526 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002852/16.02, allocations: 1.5 MB / 5.527 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01241/16.03, allocations: 3.825 MB / 5.531 GB, free: 97.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.108e-05/16.03, allocations: 2.094 kB / 5.531 GB, free: 97.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.03826/16.07, allocations: 7.944 MB / 5.539 GB, free: 89.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/16.07, allocations: 339.1 kB / 5.539 GB, free: 89.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02387/16.09, allocations: 7.883 MB / 5.547 GB, free: 81.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002041/16.09, allocations: 37.69 kB / 5.547 GB, free: 81.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01084/16.11, allocations: 3.45 MB / 5.55 GB, free: 77.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01077/16.12, allocations: 1.852 MB / 5.552 GB, free: 75.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/16.12, allocations: 0.625 kB / 5.552 GB, free: 75.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008144/16.12, allocations: 0.5804 MB / 5.553 GB, free: 75.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009407/16.13, allocations: 3.257 MB / 5.556 GB, free: 72.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/16.14, allocations: 5.078 MB / 5.561 GB, free: 66.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03601/16.18, allocations: 5.968 MB / 5.567 GB, free: 60.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.641e-05/16.18, allocations: 16 kB / 5.567 GB, free: 60.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.05499/16.23, allocations: 10.71 MB / 5.577 GB, free: 49.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005461/16.24, allocations: 27.45 MB / 5.604 GB, free: 19.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/16.24, allocations: 59.7 kB / 5.604 GB, free: 19.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/16.24, allocations: 99.98 kB / 5.604 GB, free: 19.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/16.25, allocations: 1.828 MB / 5.606 GB, free: 17.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002045/16.25, allocations: 131.5 kB / 5.606 GB, free: 17.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01856/16.27, allocations: 0.9725 MB / 5.607 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/16.28, allocations: 339.8 kB / 5.607 GB, free: 16.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/16.28, allocations: 4 kB / 5.607 GB, free: 16.48 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05058/16.33, allocations: 9.897 MB / 5.617 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/16.33, allocations: 52 kB / 5.617 GB, free: 6.473 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/16.33, allocations: 96 kB / 5.617 GB, free: 6.379 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01771/16.34, allocations: 1.83 MB / 5.619 GB, free: 4.547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001571/16.34, allocations: 127.5 kB / 5.619 GB, free: 4.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/16.36, allocations: 0.8531 MB / 5.62 GB, free: 3.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002493/16.36, allocations: 335.9 kB / 5.62 GB, free: 3.234 MB / 0.948 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.003741/16.37, allocations: 293.7 kB / 5.62 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004865/16.37, allocations: 0.8027 MB / 5.621 GB, free: 2.129 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04726/16.42, allocations: 9.118 MB / 5.63 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/16.42, allocations: 52 kB / 5.63 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/16.42, allocations: 3.984 kB / 5.63 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03689/16.46, allocations: 7.293 MB / 5.637 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4839/16.94, allocations: 19.44 MB / 5.656 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/16.94, allocations: 6.281 kB / 5.656 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01513/16.96, allocations: 1.3 MB / 5.658 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/16.96, allocations: 22.59 kB / 5.658 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001617/16.96, allocations: 118.2 kB / 5.658 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-05/16.96, allocations: 20.25 kB / 5.658 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/16.96, allocations: 0.75 kB / 5.658 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04683/17.01, allocations: 13.07 MB / 5.67 GB, free: 266.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0107/17.02, allocations: 2.362 MB / 5.673 GB, free: 266.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004725/17.02, allocations: 37.59 kB / 5.673 GB, free: 266.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0175/17.04, allocations: 0.5873 MB / 5.673 GB, free: 266.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001675/17.04, allocations: 291.6 kB / 5.674 GB, free: 266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001506/17.04, allocations: 294.2 kB / 5.674 GB, free: 266 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0166/17.06, allocations: 6.043 MB / 5.68 GB, free: 265.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03141/17.09, allocations: 5.394 MB / 5.685 GB, free: 265.3 MB / 0.9636 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.005038/17.1, allocations: 1.151 MB / 5.686 GB, free: 265.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.03447/17.13, allocations: 12.44 MB / 5.698 GB, free: 265 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.238e-05/17.13, allocations: 10.97 kB / 5.698 GB, free: 265 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/17.14, allocations: 3.517 MB / 5.702 GB, free: 265 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.042/17.18, allocations: 4.533 MB / 5.706 GB, free: 264.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07425/17.26, allocations: 19.91 MB / 5.726 GB, free: 261.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02339/17.28, allocations: 8.089 MB / 5.734 GB, free: 260.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.373e-06/17.28, allocations: 0 / 5.734 GB, free: 260.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.5443/17.82, allocations: 224.5 MB / 5.953 GB, free: 126.7 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)