Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009336/0.0009337, allocations: 197.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008515, allocations: 91.33 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.327/0.3279, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.4813, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/5.026, allocations: 2.477 GB / 3.361 GB, free: 289 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/5.026, allocations: 95.88 kB / 3.361 GB, free: 288.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 12.5/17.53, allocations: 4.082 GB / 7.443 GB, free: 98.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/17.53, allocations: 14.39 kB / 7.443 GB, free: 98.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/17.55, allocations: 4.114 MB / 7.447 GB, free: 97.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07757/17.63, allocations: 29.14 MB / 7.476 GB, free: 95.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/17.63, allocations: 0.5318 MB / 7.476 GB, free: 95.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006782/17.64, allocations: 0.9729 MB / 7.477 GB, free: 95.24 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04288/17.68, allocations: 20.07 MB / 7.497 GB, free: 95.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07322/17.76, allocations: 22.49 MB / 7.519 GB, free: 92.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001461/17.76, allocations: 68.66 kB / 7.519 GB, free: 92.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007262/17.76, allocations: 33.25 kB / 7.519 GB, free: 92.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008076/17.77, allocations: 0.9062 MB / 7.52 GB, free: 92.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1741/17.94, allocations: 96.33 MB / 7.614 GB, free: 55.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02462/17.96, allocations: 13.78 MB / 7.627 GB, free: 55.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01274/17.98, allocations: 7.829 MB / 7.635 GB, free: 55.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002569/17.98, allocations: 2.036 MB / 7.637 GB, free: 53.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01334/17.99, allocations: 7.142 MB / 7.644 GB, free: 52.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.462e-05/17.99, allocations: 0 / 7.644 GB, free: 52.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.05563/18.05, allocations: 15.28 MB / 7.659 GB, free: 49.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/18.05, allocations: 419.7 kB / 7.659 GB, free: 48.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03943/18.09, allocations: 15.2 MB / 7.674 GB, free: 43.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003023/18.09, allocations: 36.48 kB / 7.674 GB, free: 43.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02078/18.11, allocations: 6.649 MB / 7.681 GB, free: 38.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.02032/18.13, allocations: 3.482 MB / 7.684 GB, free: 36.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/18.13, allocations: 2.062 kB / 7.684 GB, free: 36.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001092/18.14, allocations: 0.8361 MB / 7.685 GB, free: 35.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/18.15, allocations: 6.323 MB / 7.691 GB, free: 30.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01281/18.16, allocations: 9.866 MB / 7.701 GB, free: 20.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0372/18.2, allocations: 11.7 MB / 7.712 GB, free: 11.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/18.2, allocations: 32 kB / 7.712 GB, free: 11.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.7846/18.98, allocations: 22.6 MB / 7.734 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01169/18.99, allocations: 68.13 MB / 7.801 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003567/18.99, allocations: 108.4 kB / 7.801 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/18.99, allocations: 187.3 kB / 7.801 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/19.01, allocations: 3.532 MB / 7.805 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003412/19.01, allocations: 240.4 kB / 7.805 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02327/19.03, allocations: 1.88 MB / 7.807 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003812/19.04, allocations: 0.6257 MB / 7.807 GB, free: 98.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/19.04, allocations: 3.875 kB / 7.807 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06268/19.1, allocations: 19.29 MB / 7.826 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000509/19.1, allocations: 107.8 kB / 7.826 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004026/19.1, allocations: 185.9 kB / 7.826 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01959/19.12, allocations: 3.532 MB / 7.83 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003564/19.12, allocations: 243.7 kB / 7.83 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0217/19.14, allocations: 1.639 MB / 7.832 GB, free: 98.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00345/19.15, allocations: 0.6337 MB / 7.832 GB, free: 98.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * 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 (1657): * Single equations (assignments): 1657 * 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.005994/19.15, allocations: 468.9 kB / 7.833 GB, free: 98.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007631/19.16, allocations: 1.517 MB / 7.834 GB, free: 98.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05126/19.21, allocations: 17.37 MB / 7.851 GB, free: 98.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/19.21, allocations: 102.3 kB / 7.851 GB, free: 98.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.985e-05/19.21, allocations: 2.219 kB / 7.851 GB, free: 98.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03747/19.25, allocations: 14 MB / 7.865 GB, free: 97.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09986/19.35, allocations: 37.2 MB / 7.901 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/19.35, allocations: 5.438 kB / 7.901 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01446/19.36, allocations: 2.461 MB / 7.904 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/19.37, allocations: 41.09 kB / 7.904 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00231/19.37, allocations: 219 kB / 7.904 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001089/19.37, allocations: 36.72 kB / 7.904 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/19.37, allocations: 0.9375 kB / 7.904 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05427/19.42, allocations: 25.03 MB / 7.928 GB, free: 93.93 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06829/19.49, allocations: 34.53 MB / 7.962 GB, free: 91.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01429/19.5, allocations: 4.331 MB / 7.966 GB, free: 90.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006805/19.51, allocations: 65.22 kB / 7.966 GB, free: 90.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01858/19.53, allocations: 1.109 MB / 7.968 GB, free: 90.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002111/19.53, allocations: 0.5168 MB / 7.968 GB, free: 90.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00278/19.53, allocations: 0.4921 MB / 7.969 GB, free: 90.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.02343/19.56, allocations: 11.69 MB / 7.98 GB, free: 90.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.04942/19.61, allocations: 10.62 MB / 7.99 GB, free: 88.83 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 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 (1059): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007698/19.62, allocations: 1.507 MB / 7.992 GB, free: 88.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04284/19.66, allocations: 23.99 MB / 8.015 GB, free: 88.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/19.66, allocations: 12.05 kB / 8.015 GB, free: 88.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/19.67, allocations: 6.66 MB / 8.022 GB, free: 86.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04835/19.72, allocations: 8.837 MB / 8.03 GB, free: 84.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1014/19.82, allocations: 39.19 MB / 8.069 GB, free: 54.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7967/20.62, allocations: 15.19 MB / 8.083 GB, free: 158.2 MB / 0.9482 GB Notification: Performance of SimCode: time 1.112e-06/20.62, allocations: 0 / 8.083 GB, free: 158.2 MB / 0.9482 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)