Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.383/1.383, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009879/0.0009879, allocations: 189.2 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.093/1.093, allocations: 205.1 MB / 0.6195 GB, free: 10.37 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008425/0.0008426, allocations: 90.83 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.209/0.2099, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.7228, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.977/4.7, allocations: 2.359 GB / 3.322 GB, free: 153.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/4.7, allocations: 88.75 kB / 3.323 GB, free: 153 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: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 12.87/17.57, allocations: 4.178 GB / 7.501 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/17.57, allocations: 12 kB / 7.501 GB, free: 21.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02624/17.59, allocations: 4.132 MB / 7.505 GB, free: 17.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7712/18.36, allocations: 29.27 MB / 7.533 GB, free: 168.6 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/18.37, allocations: 0.5311 MB / 7.534 GB, free: 168.6 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007499/18.37, allocations: 0.9737 MB / 7.535 GB, free: 168.6 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04552/18.42, allocations: 20.08 MB / 7.554 GB, free: 168.6 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05639/18.48, allocations: 22.8 MB / 7.577 GB, free: 166 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001005/18.48, allocations: 62.38 kB / 7.577 GB, free: 166 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006974/18.48, allocations: 41.19 kB / 7.577 GB, free: 166 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007533/18.48, allocations: 0.9055 MB / 7.578 GB, free: 166 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/18.65, allocations: 96.68 MB / 7.672 GB, free: 129.9 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02585/18.68, allocations: 13.78 MB / 7.685 GB, free: 129.3 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01376/18.69, allocations: 7.83 MB / 7.693 GB, free: 129.2 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00276/18.7, allocations: 2.035 MB / 7.695 GB, free: 127.2 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01481/18.71, allocations: 7.328 MB / 7.702 GB, free: 127 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=1035): time 1.637e-05/18.71, allocations: 0 / 7.702 GB, free: 127 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1035): time 0.04847/18.76, allocations: 15.29 MB / 7.717 GB, free: 125.9 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/18.76, allocations: 420 kB / 7.718 GB, free: 125.5 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03642/18.8, allocations: 15.2 MB / 7.732 GB, free: 124.6 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.003296/18.8, allocations: 39.33 kB / 7.732 GB, free: 124.6 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0199/18.82, allocations: 6.651 MB / 7.739 GB, free: 121 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.02021/18.84, allocations: 3.48 MB / 7.742 GB, free: 118.8 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003289/18.84, allocations: 0 / 7.742 GB, free: 118.8 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001874/18.85, allocations: 0.839 MB / 7.743 GB, free: 118.4 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/18.86, allocations: 6.32 MB / 7.749 GB, free: 118.4 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/18.87, allocations: 9.865 MB / 7.759 GB, free: 114.3 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04293/18.91, allocations: 11.7 MB / 7.77 GB, free: 113.2 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002916/18.92, allocations: 30.34 kB / 7.77 GB, free: 113.2 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07174/18.99, allocations: 20.84 MB / 7.791 GB, free: 107.4 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.7705/19.76, allocations: 68.12 MB / 7.857 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004516/19.76, allocations: 108.7 kB / 7.857 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/19.76, allocations: 186.3 kB / 7.858 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01864/19.78, allocations: 3.532 MB / 7.861 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000297/19.78, allocations: 240.2 kB / 7.861 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02567/19.8, allocations: 1.877 MB / 7.863 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00379/19.81, allocations: 0.6244 MB / 7.864 GB, free: 161.2 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/19.81, allocations: 5 kB / 7.864 GB, free: 161.2 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06196/19.87, allocations: 19.29 MB / 7.883 GB, free: 161 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002842/19.87, allocations: 109.7 kB / 7.883 GB, free: 161 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/19.87, allocations: 185.8 kB / 7.883 GB, free: 161 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01836/19.89, allocations: 3.537 MB / 7.886 GB, free: 161 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004103/19.89, allocations: 240.4 kB / 7.887 GB, free: 161 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02275/19.91, allocations: 1.64 MB / 7.888 GB, free: 161 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004325/19.92, allocations: 0.6264 MB / 7.889 GB, free: 161 MB / 0.995 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.008021/19.92, allocations: 480.8 kB / 7.889 GB, free: 160.8 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008375/19.93, allocations: 1.527 MB / 7.891 GB, free: 160.8 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05561/19.99, allocations: 17.37 MB / 7.908 GB, free: 160.4 MB / 0.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/19.99, allocations: 106.8 kB / 7.908 GB, free: 160.4 MB / 0.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.148e-05/19.99, allocations: 0 / 7.908 GB, free: 160.4 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03862/20.03, allocations: 14 MB / 7.921 GB, free: 160.1 MB / 0.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09897/20.13, allocations: 37.44 MB / 7.958 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/20.13, allocations: 1.312 kB / 7.958 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01477/20.14, allocations: 2.46 MB / 7.96 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/20.14, allocations: 34.12 kB / 7.96 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002502/20.14, allocations: 223.1 kB / 7.961 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000114/20.14, allocations: 38.03 kB / 7.961 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/20.14, allocations: 6.562 kB / 7.961 GB, free: 158.6 MB / 0.995 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05558/20.2, allocations: 25.05 MB / 7.985 GB, free: 156.5 MB / 0.995 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06758/20.27, allocations: 34.55 MB / 8.019 GB, free: 154 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01489/20.28, allocations: 4.432 MB / 8.023 GB, free: 153.2 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008089/20.29, allocations: 62.94 kB / 8.023 GB, free: 153.2 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02121/20.31, allocations: 1.112 MB / 8.024 GB, free: 153.1 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002744/20.31, allocations: 0.5166 MB / 8.025 GB, free: 153.1 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003685/20.32, allocations: 0.5347 MB / 8.025 GB, free: 153.1 MB / 0.995 GB Notification: Performance of sort global known variables: time 0.02533/20.34, allocations: 11.69 MB / 8.037 GB, free: 152.7 MB / 0.995 GB Notification: Performance of remove unused functions: time 0.05214/20.39, allocations: 10.64 MB / 8.047 GB, free: 151 MB / 0.995 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.005563/20.4, allocations: 1.524 MB / 8.049 GB, free: 150.8 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.04627/20.45, allocations: 24 MB / 8.072 GB, free: 150.6 MB / 0.995 GB Notification: Performance of simCode: created event and clocks part: time 3.082e-05/20.45, allocations: 19.3 kB / 8.072 GB, free: 150.6 MB / 0.995 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/20.46, allocations: 6.649 MB / 8.079 GB, free: 150.4 MB / 0.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04542/20.5, allocations: 8.855 MB / 8.087 GB, free: 150.1 MB / 0.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08337/20.59, allocations: 39.2 MB / 8.126 GB, free: 127.3 MB / 0.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02639/20.61, allocations: 15.21 MB / 8.14 GB, free: 116 MB / 0.995 GB Notification: Performance of SimCode: time 7.01e-07/20.61, allocations: 0 / 8.14 GB, free: 116 MB / 0.995 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)