Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.032/2.032, allocations: 387.2 MB / 394.5 MB, free: 13.57 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.001104/0.001104, allocations: 177.3 kB / 487 MB, free: 5.332 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.568/1.568, allocations: 221.3 MB / 0.7819 GB, free: 1.32 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.001219/0.001219, allocations: 90.14 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6927/0.694, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/1.005, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.72/5.725, allocations: 2.197 GB / 3.403 GB, free: 117.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/5.725, allocations: 91.95 kB / 3.403 GB, free: 117.2 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 14.95/20.68, allocations: 4.263 GB / 7.666 GB, free: 125.8 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/20.68, allocations: 9.562 kB / 7.666 GB, free: 125.8 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/20.71, allocations: 3.961 MB / 7.67 GB, free: 124.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08984/20.8, allocations: 30.13 MB / 7.699 GB, free: 122 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001477/20.8, allocations: 0.5296 MB / 7.7 GB, free: 122 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007942/20.81, allocations: 0.9825 MB / 7.7 GB, free: 122 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04947/20.86, allocations: 19.94 MB / 7.72 GB, free: 122 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06801/20.93, allocations: 22.84 MB / 7.742 GB, free: 119.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001569/20.93, allocations: 70.92 kB / 7.742 GB, free: 119.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00839/20.94, allocations: 35.31 kB / 7.742 GB, free: 119.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001204/20.94, allocations: 0.9105 MB / 7.743 GB, free: 119.4 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2097/21.15, allocations: 97.37 MB / 7.838 GB, free: 78 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02775/21.18, allocations: 13.79 MB / 7.852 GB, free: 73.16 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01536/21.19, allocations: 7.765 MB / 7.859 GB, free: 70.32 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00318/21.19, allocations: 2.028 MB / 7.861 GB, free: 68.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0194/21.21, allocations: 7.735 MB / 7.869 GB, free: 65.73 MB / 1.198 GB Notification: Performance of pre-optimization done (n=1022): time 6.018e-05/21.21, allocations: 0 / 7.869 GB, free: 65.73 MB / 1.198 GB Notification: Performance of matching and sorting (n=1022): time 0.05484/21.27, allocations: 15.26 MB / 7.884 GB, free: 55.47 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/21.27, allocations: 416.5 kB / 7.884 GB, free: 54.99 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03748/21.31, allocations: 15.45 MB / 7.899 GB, free: 41.68 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.004253/21.31, allocations: 37.7 kB / 7.899 GB, free: 41.64 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0212/21.33, allocations: 6.722 MB / 7.906 GB, free: 35.83 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.02151/21.35, allocations: 3.446 MB / 7.909 GB, free: 32.65 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003645/21.36, allocations: 0 / 7.909 GB, free: 32.65 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.001917/21.36, allocations: 0.8299 MB / 7.91 GB, free: 31.96 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/21.37, allocations: 6.277 MB / 7.916 GB, free: 26.44 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01767/21.39, allocations: 9.82 MB / 7.926 GB, free: 16.02 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03363/21.42, allocations: 10.59 MB / 7.936 GB, free: 7.723 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/21.42, allocations: 32.52 kB / 7.936 GB, free: 7.691 MB / 1.198 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.06381/21.49, allocations: 19.68 MB / 7.955 GB, free: 7.121 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.085/22.57, allocations: 68.79 MB / 8.023 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005738/22.57, allocations: 106.3 kB / 8.023 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/22.57, allocations: 190.8 kB / 8.023 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02041/22.59, allocations: 3.481 MB / 8.026 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004166/22.59, allocations: 243.6 kB / 8.026 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02662/22.62, allocations: 1.855 MB / 8.028 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004472/22.63, allocations: 0.6163 MB / 8.029 GB, free: 221.5 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/22.63, allocations: 7.188 kB / 8.029 GB, free: 221.5 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05281/22.68, allocations: 18.11 MB / 8.047 GB, free: 221.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004325/22.68, allocations: 104.5 kB / 8.047 GB, free: 221.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/22.68, allocations: 189.6 kB / 8.047 GB, free: 221.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01941/22.7, allocations: 3.478 MB / 8.05 GB, free: 221.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002592/22.7, allocations: 242.3 kB / 8.05 GB, free: 221.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02399/22.72, allocations: 1.611 MB / 8.052 GB, free: 221.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004954/22.73, allocations: 0.6164 MB / 8.053 GB, free: 221.3 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.00703/22.73, allocations: 472.6 kB / 8.053 GB, free: 221.2 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01007/22.74, allocations: 1.55 MB / 8.055 GB, free: 221.2 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05429/22.8, allocations: 17.33 MB / 8.072 GB, free: 220.7 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.996e-05/22.8, allocations: 107.1 kB / 8.072 GB, free: 220.7 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/22.8, allocations: 0 / 8.072 GB, free: 220.7 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04265/22.84, allocations: 13.92 MB / 8.085 GB, free: 220.4 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1188/22.96, allocations: 37.49 MB / 8.122 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/22.96, allocations: 18.19 kB / 8.122 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0157/22.98, allocations: 2.432 MB / 8.124 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/22.98, allocations: 52.38 kB / 8.124 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002665/22.98, allocations: 235.7 kB / 8.125 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.463e-05/22.98, allocations: 60.64 kB / 8.125 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-05/22.98, allocations: 30.34 kB / 8.125 GB, free: 218.9 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05914/23.04, allocations: 30.59 MB / 8.154 GB, free: 210.1 MB / 1.229 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07281/23.11, allocations: 39.86 MB / 8.193 GB, free: 200.9 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0185/23.13, allocations: 4.462 MB / 8.198 GB, free: 200 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009863/23.14, allocations: 79.52 kB / 8.198 GB, free: 200 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02275/23.16, allocations: 0.9606 MB / 8.199 GB, free: 199.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003391/23.17, allocations: 0.5513 MB / 8.199 GB, free: 199.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00358/23.17, allocations: 0.5468 MB / 8.2 GB, free: 199.9 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.02714/23.2, allocations: 11.9 MB / 8.211 GB, free: 199.5 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05423/23.25, allocations: 10.66 MB / 8.222 GB, free: 198.4 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.007273/23.26, allocations: 1.387 MB / 8.223 GB, free: 198.2 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0491/23.31, allocations: 23.65 MB / 8.246 GB, free: 197.9 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-05/23.31, allocations: 20.73 kB / 8.246 GB, free: 197.9 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/23.32, allocations: 6.508 MB / 8.253 GB, free: 197.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05453/23.38, allocations: 8.864 MB / 8.261 GB, free: 197.7 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/23.48, allocations: 39.89 MB / 8.3 GB, free: 187.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03503/23.52, allocations: 15.31 MB / 8.315 GB, free: 183.4 MB / 1.229 GB Notification: Performance of SimCode: time 1.122e-06/23.52, allocations: 4 kB / 8.315 GB, free: 183.4 MB / 1.229 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels_res.mat does not exist to compare? outputFormat=mat