Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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 10.0.0-master/package.mo): time 2.03/2.03, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001567/0.001567, allocations: 188.8 kB / 490.8 MB, free: 1.941 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.5/1.5, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009294/0.0009293, allocations: 91.72 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.699/0.6999, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.9974, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.784/5.781, allocations: 2.198 GB / 3.409 GB, free: 110 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.782, allocations: 87.95 kB / 3.409 GB, free: 109.9 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: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 15.19/20.98, allocations: 4.263 GB / 7.672 GB, free: 140.1 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/20.98, allocations: 7.531 kB / 7.672 GB, free: 140.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/21.01, allocations: 3.965 MB / 7.676 GB, free: 138.8 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08679/21.09, allocations: 30.11 MB / 7.706 GB, free: 136.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/21.1, allocations: 0.5366 MB / 7.706 GB, free: 136.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007418/21.1, allocations: 0.9733 MB / 7.707 GB, free: 136.3 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05236/21.16, allocations: 19.94 MB / 7.727 GB, free: 136.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08138/21.24, allocations: 22.84 MB / 7.749 GB, free: 133.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00133/21.24, allocations: 67.41 kB / 7.749 GB, free: 133.7 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008527/21.25, allocations: 34.06 kB / 7.749 GB, free: 133.7 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008592/21.25, allocations: 0.9107 MB / 7.75 GB, free: 133.7 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/21.45, allocations: 97.36 MB / 7.845 GB, free: 92.4 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02693/21.48, allocations: 13.79 MB / 7.858 GB, free: 87.59 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01517/21.49, allocations: 7.755 MB / 7.866 GB, free: 84.77 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00307/21.5, allocations: 2.038 MB / 7.868 GB, free: 82.74 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01866/21.51, allocations: 7.737 MB / 7.875 GB, free: 80.16 MB / 1.214 GB Notification: Performance of pre-optimization done (n=1022): time 6.516e-05/21.51, allocations: 0 / 7.875 GB, free: 80.16 MB / 1.214 GB Notification: Performance of matching and sorting (n=1022): time 0.05181/21.57, allocations: 15.25 MB / 7.89 GB, free: 70 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/21.57, allocations: 420.4 kB / 7.891 GB, free: 69.52 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03666/21.6, allocations: 15.45 MB / 7.906 GB, free: 56.21 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004125/21.61, allocations: 37.7 kB / 7.906 GB, free: 56.16 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02368/21.63, allocations: 6.726 MB / 7.912 GB, free: 50.35 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0228/21.65, allocations: 3.44 MB / 7.916 GB, free: 47.18 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003386/21.66, allocations: 32 / 7.916 GB, free: 47.18 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.002059/21.66, allocations: 0.8344 MB / 7.917 GB, free: 46.48 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0141/21.67, allocations: 6.277 MB / 7.923 GB, free: 40.96 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01779/21.69, allocations: 9.814 MB / 7.932 GB, free: 30.55 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03168/21.72, allocations: 10.59 MB / 7.943 GB, free: 22.25 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/21.72, allocations: 32 kB / 7.943 GB, free: 22.22 MB / 1.214 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.05681/21.78, allocations: 19.67 MB / 7.962 GB, free: 5.648 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.055/22.84, allocations: 68.8 MB / 8.029 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004428/22.84, allocations: 106.6 kB / 8.029 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/22.84, allocations: 185.7 kB / 8.029 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01933/22.86, allocations: 3.48 MB / 8.033 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003268/22.86, allocations: 250 kB / 8.033 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02677/22.88, allocations: 1.854 MB / 8.035 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004788/22.89, allocations: 0.6181 MB / 8.035 GB, free: 216 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/22.89, allocations: 3.781 kB / 8.035 GB, free: 216 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05414/22.94, allocations: 18.11 MB / 8.053 GB, free: 215.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004139/22.94, allocations: 106.8 kB / 8.053 GB, free: 215.7 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/22.94, allocations: 184.9 kB / 8.053 GB, free: 215.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01967/22.96, allocations: 3.479 MB / 8.057 GB, free: 215.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003344/22.96, allocations: 238.6 kB / 8.057 GB, free: 215.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02524/22.99, allocations: 1.613 MB / 8.059 GB, free: 215.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00484/22.99, allocations: 0.617 MB / 8.059 GB, free: 215.7 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1638): * Single equations (assignments): 1638 * 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.006674/23, allocations: 469.3 kB / 8.06 GB, free: 215.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009686/23.01, allocations: 1.548 MB / 8.061 GB, free: 215.6 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0593/23.07, allocations: 17.32 MB / 8.078 GB, free: 215.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.474e-05/23.07, allocations: 112.1 kB / 8.078 GB, free: 215.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/23.07, allocations: 0 / 8.078 GB, free: 215.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04056/23.11, allocations: 13.92 MB / 8.092 GB, free: 214.8 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1123/23.22, allocations: 37.49 MB / 8.128 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/23.22, allocations: 15.41 kB / 8.128 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01582/23.24, allocations: 2.447 MB / 8.131 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/23.24, allocations: 52.62 kB / 8.131 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002756/23.24, allocations: 229.2 kB / 8.131 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.773e-05/23.24, allocations: 60.8 kB / 8.131 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-05/23.24, allocations: 29.72 kB / 8.131 GB, free: 213.4 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05744/23.3, allocations: 30.59 MB / 8.161 GB, free: 204.6 MB / 1.229 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07368/23.37, allocations: 39.85 MB / 8.2 GB, free: 195.3 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01738/23.39, allocations: 4.458 MB / 8.204 GB, free: 194.4 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008504/23.4, allocations: 84.27 kB / 8.204 GB, free: 194.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02228/23.42, allocations: 0.9607 MB / 8.205 GB, free: 194.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003174/23.42, allocations: 0.5543 MB / 8.206 GB, free: 194.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002913/23.43, allocations: 0.5464 MB / 8.206 GB, free: 194.3 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02858/23.46, allocations: 11.9 MB / 8.218 GB, free: 193.9 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05845/23.51, allocations: 10.67 MB / 8.228 GB, free: 192.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.006528/23.52, allocations: 1.38 MB / 8.23 GB, free: 192.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.04469/23.56, allocations: 23.65 MB / 8.253 GB, free: 192.4 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 5.016e-05/23.57, allocations: 19.61 kB / 8.253 GB, free: 192.4 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01297/23.58, allocations: 6.516 MB / 8.259 GB, free: 192.3 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04715/23.63, allocations: 8.872 MB / 8.268 GB, free: 192.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/23.73, allocations: 39.88 MB / 8.307 GB, free: 181.6 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03914/23.77, allocations: 15.32 MB / 8.322 GB, free: 174.3 MB / 1.229 GB Notification: Performance of SimCode: time 1.412e-06/23.77, allocations: 0 / 8.322 GB, free: 174.3 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat does not exist to compare? outputFormat=mat