Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.973/1.973, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 177.3 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001455, allocations: 100.8 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6521/0.6537, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.9371, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/5.648, allocations: 2.201 GB / 3.406 GB, free: 109.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/5.648, allocations: 91.39 kB / 3.407 GB, free: 109.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4528 * Number of variables: 4528 Notification: Performance of Generate backend data structure: time 15.85/21.5, allocations: 4.267 GB / 7.673 GB, free: 145.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/21.5, allocations: 7.406 kB / 7.673 GB, free: 145.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03182/21.53, allocations: 4.224 MB / 7.677 GB, free: 144.3 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08863/21.62, allocations: 30.25 MB / 7.707 GB, free: 141.8 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/21.62, allocations: 0.5337 MB / 7.707 GB, free: 141.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008166/21.63, allocations: 0.986 MB / 7.708 GB, free: 141.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04872/21.68, allocations: 20.16 MB / 7.728 GB, free: 141.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07685/21.76, allocations: 22.89 MB / 7.75 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001251/21.76, allocations: 68.8 kB / 7.75 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008037/21.77, allocations: 33.12 kB / 7.75 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008805/21.77, allocations: 0.9175 MB / 7.751 GB, free: 139.1 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2266/21.99, allocations: 97.35 MB / 7.846 GB, free: 97.93 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03267/22.03, allocations: 13.77 MB / 7.86 GB, free: 93.11 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02258/22.05, allocations: 7.848 MB / 7.868 GB, free: 90.21 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/22.05, allocations: 2.042 MB / 7.87 GB, free: 88.08 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01853/22.07, allocations: 7.347 MB / 7.877 GB, free: 82.23 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1037): time 2.151e-05/22.07, allocations: 0 / 7.877 GB, free: 82.23 MB / 1.214 GB Notification: Performance of matching and sorting (n=1037): time 0.05693/22.13, allocations: 15.38 MB / 7.892 GB, free: 69.34 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/22.13, allocations: 416.6 kB / 7.892 GB, free: 68.86 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04381/22.17, allocations: 15.49 MB / 7.907 GB, free: 55.52 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004467/22.18, allocations: 37.7 kB / 7.907 GB, free: 55.48 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02435/22.2, allocations: 6.724 MB / 7.914 GB, free: 49.66 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.02196/22.22, allocations: 3.495 MB / 7.917 GB, free: 46.44 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003602/22.23, allocations: 4 kB / 7.917 GB, free: 46.44 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002027/22.23, allocations: 0.839 MB / 7.918 GB, free: 45.75 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01356/22.24, allocations: 6.333 MB / 7.924 GB, free: 40.16 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01848/22.26, allocations: 9.881 MB / 7.934 GB, free: 29.68 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04568/22.31, allocations: 11.73 MB / 7.945 GB, free: 20.61 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002056/22.31, allocations: 32 kB / 7.945 GB, free: 20.58 MB / 1.214 GB Notification: Performance of matching and sorting (n=1659) (initialization): time 0.07824/22.39, allocations: 20.92 MB / 7.966 GB, free: 3.141 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.143/23.53, allocations: 69.08 MB / 8.033 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004729/23.53, allocations: 105.7 kB / 8.033 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/23.53, allocations: 192.2 kB / 8.034 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02063/23.55, allocations: 3.545 MB / 8.037 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004768/23.55, allocations: 240.9 kB / 8.037 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02781/23.58, allocations: 1.888 MB / 8.039 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005075/23.58, allocations: 0.6329 MB / 8.04 GB, free: 212.1 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/23.58, allocations: 4.594 kB / 8.04 GB, free: 212.1 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07579/23.66, allocations: 19.34 MB / 8.059 GB, free: 211.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005793/23.66, allocations: 107.5 kB / 8.059 GB, free: 211.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/23.66, allocations: 191.9 kB / 8.059 GB, free: 211.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02092/23.68, allocations: 3.555 MB / 8.062 GB, free: 211.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004554/23.68, allocations: 238.3 kB / 8.063 GB, free: 211.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02621/23.71, allocations: 1.661 MB / 8.064 GB, free: 211.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005066/23.71, allocations: 0.6272 MB / 8.065 GB, free: 211.8 MB / 1.229 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 (1659): * Single equations (assignments): 1659 * 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.00866/23.72, allocations: 477.6 kB / 8.065 GB, free: 211.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01341/23.74, allocations: 1.556 MB / 8.067 GB, free: 211.7 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06634/23.8, allocations: 17.47 MB / 8.084 GB, free: 211.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001685/23.8, allocations: 101 kB / 8.084 GB, free: 211.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.699e-05/23.8, allocations: 0 / 8.084 GB, free: 211.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04771/23.85, allocations: 14.06 MB / 8.098 GB, free: 210.9 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1312/23.98, allocations: 37.64 MB / 8.134 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.911e-05/23.98, allocations: 5.406 kB / 8.134 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01767/24, allocations: 2.477 MB / 8.137 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/24, allocations: 38.12 kB / 8.137 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003714/24, allocations: 217.7 kB / 8.137 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001582/24, allocations: 42.06 kB / 8.137 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/24, allocations: 5.938 kB / 8.137 GB, free: 209.3 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07606/24.08, allocations: 25.17 MB / 8.162 GB, free: 207.2 MB / 1.229 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0816/24.16, allocations: 34.72 MB / 8.196 GB, free: 204.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01734/24.18, allocations: 4.457 MB / 8.2 GB, free: 203.7 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009962/24.19, allocations: 63.03 kB / 8.2 GB, free: 203.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02271/24.21, allocations: 1.125 MB / 8.201 GB, free: 203.7 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003372/24.21, allocations: 0.5242 MB / 8.202 GB, free: 203.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004654/24.22, allocations: 0.5369 MB / 8.202 GB, free: 203.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.03139/24.25, allocations: 11.92 MB / 8.214 GB, free: 203.2 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06101/24.31, allocations: 10.72 MB / 8.224 GB, free: 202.1 MB / 1.229 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 (1062): * Single equations (assignments): 1054 * 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.009331/24.32, allocations: 1.571 MB / 8.226 GB, free: 202 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0537/24.38, allocations: 24.06 MB / 8.249 GB, free: 201.7 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.503e-05/24.38, allocations: 17.73 kB / 8.249 GB, free: 201.7 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01336/24.39, allocations: 6.676 MB / 8.256 GB, free: 201.6 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04809/24.44, allocations: 8.873 MB / 8.265 GB, free: 201.5 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1014/24.54, allocations: 39.72 MB / 8.303 GB, free: 190.8 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03603/24.57, allocations: 15.39 MB / 8.318 GB, free: 184.7 MB / 1.229 GB Notification: Performance of SimCode: time 1.774e-06/24.57, allocations: 3.844 kB / 8.318 GB, free: 184.7 MB / 1.229 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels_res.mat does not exist to compare? outputFormat=mat