Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.071/2.071, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001103/0.001103, allocations: 180.3 kB / 490.8 MB, free: 1.926 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.467/1.467, 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.0009704/0.0009704, allocations: 83.62 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.689/0.69, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.9815, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.819/5.8, allocations: 2.2 GB / 3.412 GB, free: 103.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/5.801, allocations: 95.36 kB / 3.412 GB, free: 103.3 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.408/11.21, allocations: 1.51 GB / 4.922 GB, free: 166.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/11.21, allocations: 7.156 kB / 4.922 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/11.23, allocations: 2.809 MB / 4.925 GB, free: 166 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02158/11.25, allocations: 8.2 MB / 4.933 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/11.25, allocations: 193 kB / 4.933 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/11.25, allocations: 348.3 kB / 4.933 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01643/11.27, allocations: 7.066 MB / 4.94 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/11.29, allocations: 7.301 MB / 4.947 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/11.29, allocations: 13.09 kB / 4.947 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/11.29, allocations: 10.94 kB / 4.947 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002481/11.29, allocations: 296.8 kB / 4.947 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05828/11.35, allocations: 32.23 MB / 4.979 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008178/11.36, allocations: 4.659 MB / 4.983 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/11.37, allocations: 2.645 MB / 4.986 GB, free: 152.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/11.37, allocations: 2.407 MB / 4.988 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005554/11.37, allocations: 2.893 MB / 4.991 GB, free: 149.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=424): time 6.943e-06/11.37, allocations: 0 / 4.991 GB, free: 149.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=424): time 0.02285/11.4, allocations: 6.25 MB / 4.997 GB, free: 149.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/11.4, allocations: 383.6 kB / 4.998 GB, free: 148.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007977/11.4, allocations: 4.599 MB / 5.002 GB, free: 148.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001483/11.41, allocations: 33.27 kB / 5.002 GB, free: 148.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002616/11.41, allocations: 2.172 MB / 5.004 GB, free: 147.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/11.41, allocations: 1.377 MB / 5.006 GB, free: 146.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/11.41, allocations: 2.469 kB / 5.006 GB, free: 146.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002657/11.41, allocations: 485.2 kB / 5.006 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/11.41, allocations: 2.104 MB / 5.008 GB, free: 145.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/11.42, allocations: 3.057 MB / 5.011 GB, free: 144.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/11.44, allocations: 3.986 MB / 5.015 GB, free: 144.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-05/11.44, allocations: 5.125 kB / 5.015 GB, free: 144.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=565) (initialization): time 0.02594/11.46, allocations: 7.201 MB / 5.022 GB, free: 144.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001924/11.46, allocations: 10.57 MB / 5.032 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/11.46, allocations: 23.12 kB / 5.032 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.154e-05/11.46, allocations: 46.72 kB / 5.032 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008226/11.47, allocations: 1.314 MB / 5.034 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/11.47, allocations: 54.44 kB / 5.034 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008882/11.48, allocations: 0.6924 MB / 5.034 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/11.48, allocations: 227.5 kB / 5.035 GB, free: 133 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/11.48, allocations: 7.188 kB / 5.035 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02517/11.51, allocations: 6.626 MB / 5.041 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.689e-05/11.51, allocations: 23.89 kB / 5.041 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.171e-05/11.51, allocations: 51.2 kB / 5.041 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007977/11.52, allocations: 1.305 MB / 5.043 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-05/11.52, allocations: 56.5 kB / 5.043 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008773/11.52, allocations: 0.6265 MB / 5.043 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/11.53, allocations: 228.7 kB / 5.043 GB, free: 132.8 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.002563/11.53, allocations: 214.1 kB / 5.044 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00268/11.53, allocations: 0.5547 MB / 5.044 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02943/11.56, allocations: 7.533 MB / 5.051 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/11.56, allocations: 50.52 kB / 5.052 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/11.56, allocations: 0 / 5.052 GB, free: 132.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02128/11.58, allocations: 5.884 MB / 5.057 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05005/11.63, allocations: 14.76 MB / 5.072 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/11.63, allocations: 6 kB / 5.072 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007561/11.64, allocations: 1.068 MB / 5.073 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.931e-05/11.64, allocations: 22.59 kB / 5.073 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/11.64, allocations: 103.7 kB / 5.073 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.118e-05/11.64, allocations: 29.23 kB / 5.073 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/11.64, allocations: 14.25 kB / 5.073 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0342/11.68, allocations: 10.86 MB / 5.084 GB, free: 126.5 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04112/11.72, allocations: 14.61 MB / 5.098 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006535/11.72, allocations: 1.62 MB / 5.099 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003502/11.73, allocations: 27.17 kB / 5.099 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008781/11.74, allocations: 451.8 kB / 5.1 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/11.74, allocations: 248.9 kB / 5.1 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001549/11.74, allocations: 211.1 kB / 5.1 GB, free: 118.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.00847/11.75, allocations: 3.562 MB / 5.104 GB, free: 117.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02328/11.77, allocations: 4.02 MB / 5.108 GB, free: 115.9 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.005766/11.78, allocations: 1.588 MB / 5.109 GB, free: 115.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0257/11.8, allocations: 8.324 MB / 5.117 GB, free: 112.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/11.8, allocations: 5.406 kB / 5.117 GB, free: 112.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.007148/11.81, allocations: 2.599 MB / 5.12 GB, free: 111.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01554/11.83, allocations: 2.435 MB / 5.122 GB, free: 110.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/11.86, allocations: 11.86 MB / 5.134 GB, free: 99.73 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01284/11.88, allocations: 5.195 MB / 5.139 GB, free: 95.96 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/11.88, allocations: 0 / 5.139 GB, free: 95.96 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series_res.mat does not exist to compare? outputFormat=mat