Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.494/1.494, allocations: 285.5 MB / 292.8 MB, free: 1.059 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 182.6 kB / 361.1 MB, free: 15.48 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 0.6195 GB, free: 6.184 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00095/0.0009499, allocations: 89.91 kB / 0.7326 GB, free: 46.97 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.204e-06, allocations: 0 / 0.8511 GB, free: 13.07 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.663, allocations: 115.3 MB / 0.9637 GB, free: 85.92 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.712/5.375, allocations: 2.357 GB / 3.321 GB, free: 130.9 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/5.375, allocations: 87.95 kB / 3.321 GB, free: 130.9 MB / 0.9405 GB Notification: Performance of FrontEnd: time 7.804/13.18, allocations: 2.097 GB / 5.419 GB, free: 163.5 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 0.002118/13.18, allocations: 300.7 kB / 5.419 GB, free: 163.4 MB / 0.9405 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.03898/13.22, allocations: 9.604 MB / 5.428 GB, free: 159.1 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/13.22, allocations: 12.25 kB / 5.428 GB, free: 159.1 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/13.24, allocations: 2.145 MB / 5.43 GB, free: 158.2 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04727/13.28, allocations: 14.94 MB / 5.445 GB, free: 149.4 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009591/13.29, allocations: 280.9 kB / 5.445 GB, free: 149.4 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005775/13.29, allocations: 0.5034 MB / 5.446 GB, free: 149.4 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02977/13.32, allocations: 10.51 MB / 5.456 GB, free: 140.4 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03954/13.36, allocations: 11.72 MB / 5.467 GB, free: 128.3 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005907/13.36, allocations: 39.61 kB / 5.467 GB, free: 128.2 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004723/13.37, allocations: 20 kB / 5.467 GB, free: 128.2 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003901/13.37, allocations: 479.8 kB / 5.468 GB, free: 127.8 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/13.47, allocations: 49.46 MB / 5.516 GB, free: 77.18 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/13.49, allocations: 7.013 MB / 5.523 GB, free: 70.24 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006751/13.49, allocations: 4.022 MB / 5.527 GB, free: 66.2 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/13.5, allocations: 1.5 MB / 5.528 GB, free: 64.43 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007881/13.5, allocations: 3.833 MB / 5.532 GB, free: 60.54 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=553): time 9.889e-06/13.5, allocations: 0 / 5.532 GB, free: 60.54 MB / 0.9405 GB Notification: Performance of matching and sorting (n=553): time 0.02581/13.53, allocations: 7.938 MB / 5.54 GB, free: 52.51 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/13.53, allocations: 347.1 kB / 5.54 GB, free: 52.1 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01853/13.55, allocations: 7.879 MB / 5.548 GB, free: 44.23 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.002888/13.55, allocations: 33.7 kB / 5.548 GB, free: 44.19 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.008081/13.56, allocations: 3.449 MB / 5.551 GB, free: 40.7 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.007884/13.57, allocations: 1.852 MB / 5.553 GB, free: 38.82 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006203/13.57, allocations: 0.8438 kB / 5.553 GB, free: 38.82 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 0.0004583/13.57, allocations: 0.5753 MB / 5.554 GB, free: 38.23 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/13.57, allocations: 3.254 MB / 5.557 GB, free: 34.98 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005268/13.58, allocations: 5.09 MB / 5.562 GB, free: 29.09 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01958/13.6, allocations: 5.964 MB / 5.568 GB, free: 23.09 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.147e-05/13.6, allocations: 16 kB / 5.568 GB, free: 23.07 MB / 0.9405 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03054/13.63, allocations: 10.72 MB / 5.578 GB, free: 12.27 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.5334/14.16, allocations: 27.44 MB / 5.605 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002378/14.16, allocations: 58.69 kB / 5.605 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/14.16, allocations: 97.62 kB / 5.605 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/14.17, allocations: 1.837 MB / 5.607 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002135/14.17, allocations: 119.8 kB / 5.607 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/14.19, allocations: 0.9724 MB / 5.608 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/14.19, allocations: 338.4 kB / 5.608 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/14.19, allocations: 7.469 kB / 5.608 GB, free: 266.5 MB / 0.9561 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03095/14.22, allocations: 9.89 MB / 5.618 GB, free: 266.4 MB / 0.9561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/14.22, allocations: 52.56 kB / 5.618 GB, free: 266.4 MB / 0.9561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/14.22, allocations: 100.8 kB / 5.618 GB, free: 266.4 MB / 0.9561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/14.23, allocations: 1.835 MB / 5.62 GB, free: 266.4 MB / 0.9561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001855/14.23, allocations: 123.6 kB / 5.62 GB, free: 266.4 MB / 0.9561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/14.25, allocations: 0.8568 MB / 5.621 GB, free: 266.4 MB / 0.9561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002748/14.25, allocations: 334.5 kB / 5.621 GB, free: 266.4 MB / 0.9561 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.00351/14.25, allocations: 293.2 kB / 5.621 GB, free: 266.2 MB / 0.9561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004945/14.26, allocations: 0.8029 MB / 5.622 GB, free: 266.2 MB / 0.9561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02836/14.29, allocations: 9.124 MB / 5.631 GB, free: 265.9 MB / 0.9561 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/14.29, allocations: 52 kB / 5.631 GB, free: 265.9 MB / 0.9561 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/14.29, allocations: 0 / 5.631 GB, free: 265.9 MB / 0.9561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02015/14.31, allocations: 7.285 MB / 5.638 GB, free: 265.7 MB / 0.9561 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06205/14.37, allocations: 19.45 MB / 5.657 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/14.37, allocations: 0 / 5.657 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008489/14.38, allocations: 1.306 MB / 5.659 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/14.38, allocations: 17.84 kB / 5.659 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001665/14.38, allocations: 118.9 kB / 5.659 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.271e-05/14.38, allocations: 18.06 kB / 5.659 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/14.38, allocations: 6.062 kB / 5.659 GB, free: 264.9 MB / 0.9561 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0327/14.41, allocations: 13.08 MB / 5.672 GB, free: 263.9 MB / 0.9561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009834/14.42, allocations: 2.355 MB / 5.674 GB, free: 263.4 MB / 0.9561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005315/14.43, allocations: 36.42 kB / 5.674 GB, free: 263.4 MB / 0.9561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01229/14.44, allocations: 0.5903 MB / 5.674 GB, free: 263.4 MB / 0.9561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/14.44, allocations: 289.6 kB / 5.675 GB, free: 263.4 MB / 0.9561 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002107/14.44, allocations: 290.4 kB / 5.675 GB, free: 263.4 MB / 0.9561 GB Notification: Performance of sort global known variables: time 0.01422/14.46, allocations: 6.044 MB / 5.681 GB, free: 263.1 MB / 0.9561 GB Notification: Performance of remove unused functions: time 0.02746/14.49, allocations: 5.397 MB / 5.686 GB, free: 262.6 MB / 0.9561 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.004476/14.49, allocations: 1.153 MB / 5.687 GB, free: 262.5 MB / 0.9561 GB Notification: Performance of simCode: created initialization part: time 0.02283/14.51, allocations: 12.44 MB / 5.699 GB, free: 262.4 MB / 0.9561 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/14.51, allocations: 10.22 kB / 5.699 GB, free: 262.4 MB / 0.9561 GB Notification: Performance of simCode: created simulation system equations: time 0.005725/14.52, allocations: 3.511 MB / 5.703 GB, free: 262.3 MB / 0.9561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02498/14.54, allocations: 4.528 MB / 5.707 GB, free: 262.2 MB / 0.9561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05456/14.6, allocations: 19.91 MB / 5.727 GB, free: 259.1 MB / 0.9561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0137/14.61, allocations: 8.09 MB / 5.735 GB, free: 258.1 MB / 0.9561 GB Notification: Performance of SimCode: time 1.543e-06/14.61, allocations: 0 / 5.735 GB, free: 258.1 MB / 0.9561 GB Notification: Performance of Templates: time 0.3378/14.95, allocations: 224.5 MB / 5.954 GB, free: 90.66 MB / 0.9561 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)