Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",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.101/2.101, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001591/0.001591, allocations: 176.5 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.442/1.442, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0009367/0.0009365, allocations: 106.8 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7029/0.7038, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/1.018, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.785/5.803, allocations: 2.2 GB / 3.405 GB, free: 115.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/5.803, allocations: 91.95 kB / 3.405 GB, free: 115 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: 1566 * Number of variables: 1566 Notification: Performance of Generate backend data structure: time 5.445/11.25, allocations: 1.51 GB / 4.915 GB, free: 160.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/11.25, allocations: 9.656 kB / 4.915 GB, free: 160.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01897/11.27, allocations: 2.804 MB / 4.918 GB, free: 160 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0287/11.3, allocations: 8.208 MB / 4.926 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/11.3, allocations: 196.4 kB / 4.926 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003699/11.3, allocations: 347.9 kB / 4.926 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01837/11.32, allocations: 7.07 MB / 4.933 GB, free: 159 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/11.34, allocations: 7.293 MB / 4.94 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/11.34, allocations: 16.28 kB / 4.94 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002433/11.34, allocations: 7.469 kB / 4.941 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/11.34, allocations: 289.5 kB / 4.941 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06338/11.41, allocations: 32.23 MB / 4.972 GB, free: 146.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007894/11.42, allocations: 4.657 MB / 4.977 GB, free: 146.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003672/11.42, allocations: 2.64 MB / 4.979 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/11.42, allocations: 2.41 MB / 4.982 GB, free: 143.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004589/11.43, allocations: 2.894 MB / 4.985 GB, free: 143.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 8.627e-06/11.43, allocations: 0 / 4.985 GB, free: 143.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.02171/11.45, allocations: 6.253 MB / 4.991 GB, free: 143.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/11.45, allocations: 383.6 kB / 4.991 GB, free: 142.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008123/11.46, allocations: 4.6 MB / 4.996 GB, free: 142.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/11.46, allocations: 33.67 kB / 4.996 GB, free: 142.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/11.46, allocations: 2.17 MB / 4.998 GB, free: 141.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002854/11.46, allocations: 1.373 MB / 4.999 GB, free: 140.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/11.46, allocations: 0 / 4.999 GB, free: 140.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003171/11.46, allocations: 487.9 kB / 4.999 GB, free: 140 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/11.47, allocations: 2.107 MB / 5.002 GB, free: 140 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/11.47, allocations: 3.06 MB / 5.005 GB, free: 139 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/11.49, allocations: 3.989 MB / 5.008 GB, free: 138.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.714e-05/11.49, allocations: 6.781 kB / 5.008 GB, free: 138.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.02518/11.51, allocations: 7.2 MB / 5.015 GB, free: 138.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001989/11.51, allocations: 10.58 MB / 5.026 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/11.51, allocations: 21.25 kB / 5.026 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.442e-05/11.51, allocations: 45.94 kB / 5.026 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007804/11.52, allocations: 1.307 MB / 5.027 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000129/11.52, allocations: 61.83 kB / 5.027 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009045/11.53, allocations: 0.688 MB / 5.028 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/11.53, allocations: 228.3 kB / 5.028 GB, free: 127.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/11.53, allocations: 5.781 kB / 5.028 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02505/11.56, allocations: 6.626 MB / 5.035 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.252e-05/11.56, allocations: 21.28 kB / 5.035 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/11.56, allocations: 47.97 kB / 5.035 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008001/11.57, allocations: 1.305 MB / 5.036 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/11.57, allocations: 59.69 kB / 5.036 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008508/11.57, allocations: 0.6286 MB / 5.037 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/11.58, allocations: 229.2 kB / 5.037 GB, free: 126.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (565): * Single equations (assignments): 565 * 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.002252/11.58, allocations: 209.9 kB / 5.037 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002579/11.58, allocations: 0.5561 MB / 5.038 GB, free: 126.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/11.61, allocations: 7.535 MB / 5.045 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/11.61, allocations: 48.55 kB / 5.045 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/11.61, allocations: 3.609 kB / 5.045 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02023/11.63, allocations: 5.886 MB / 5.051 GB, free: 126 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04591/11.67, allocations: 14.73 MB / 5.065 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/11.67, allocations: 10.83 kB / 5.065 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007471/11.68, allocations: 1.071 MB / 5.066 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.765e-05/11.68, allocations: 22.66 kB / 5.066 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001451/11.68, allocations: 106.1 kB / 5.066 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.19e-05/11.68, allocations: 23.25 kB / 5.066 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/11.68, allocations: 10.91 kB / 5.066 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03015/11.71, allocations: 10.87 MB / 5.077 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03599/11.75, allocations: 14.61 MB / 5.091 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006156/11.76, allocations: 1.623 MB / 5.093 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003222/11.76, allocations: 24.2 kB / 5.093 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009193/11.77, allocations: 447 kB / 5.093 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/11.77, allocations: 249.9 kB / 5.093 GB, free: 119.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001394/11.77, allocations: 205.1 kB / 5.094 GB, free: 119.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.009032/11.78, allocations: 3.56 MB / 5.097 GB, free: 118.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02173/11.8, allocations: 4.024 MB / 5.101 GB, free: 117.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (451): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004905/11.81, allocations: 1.594 MB / 5.103 GB, free: 116.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02026/11.83, allocations: 8.327 MB / 5.111 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/11.83, allocations: 5.156 kB / 5.111 GB, free: 113.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005971/11.83, allocations: 2.597 MB / 5.113 GB, free: 112.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01542/11.85, allocations: 2.438 MB / 5.116 GB, free: 112.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03494/11.88, allocations: 11.85 MB / 5.127 GB, free: 108.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01018/11.89, allocations: 5.195 MB / 5.132 GB, free: 106.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.723e-06/11.89, allocations: 2.734 kB / 5.132 GB, free: 106.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat does not exist to compare? outputFormat=mat