Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [: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 1.998/1.998, allocations: 390.4 MB / 397.7 MB, free: 1.66 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 177.3 kB / 490.8 MB, free: 7.207 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.3 MB / 0.7863 GB, free: 24 kB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009009, allocations: 103.1 kB / 0.9264 GB, free: 392 kB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.193e-06, allocations: 4 kB / 1.072 GB, free: 56.04 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2859, allocations: 143 MB / 1.212 GB, free: 8.93 MB / 0.8152 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8284/1.114, allocations: 374.7 MB / 1.577 GB, free: 14.2 MB / 1.018 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.115, allocations: 94.91 kB / 1.578 GB, free: 14.16 MB / 1.018 GB Notification: Performance of FrontEnd: time 0.02909/1.144, allocations: 10.72 MB / 1.588 GB, free: 5.676 MB / 1.018 GB Notification: Performance of Transformations before backend: time 1.918e-05/1.144, allocations: 4 kB / 1.588 GB, free: 5.672 MB / 1.018 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001115/1.145, allocations: 0.5892 MB / 1.589 GB, free: 5.055 MB / 1.018 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.145, allocations: 8.031 kB / 1.589 GB, free: 5.047 MB / 1.018 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/1.145, allocations: 27.62 kB / 1.589 GB, free: 5.02 MB / 1.018 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/1.146, allocations: 264.9 kB / 1.589 GB, free: 4.734 MB / 1.018 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.146, allocations: 5.406 kB / 1.589 GB, free: 4.73 MB / 1.018 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/1.146, allocations: 7.938 kB / 1.589 GB, free: 4.723 MB / 1.018 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/1.146, allocations: 95.25 kB / 1.589 GB, free: 4.66 MB / 1.018 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.146, allocations: 111.5 kB / 1.589 GB, free: 4.566 MB / 1.018 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.146, allocations: 0 / 1.589 GB, free: 4.566 MB / 1.018 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.146, allocations: 0 / 1.589 GB, free: 4.566 MB / 1.018 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.146, allocations: 4.234 kB / 1.589 GB, free: 4.566 MB / 1.018 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/1.147, allocations: 477.4 kB / 1.59 GB, free: 4.125 MB / 1.018 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/1.147, allocations: 70 kB / 1.59 GB, free: 4.07 MB / 1.018 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.148, allocations: 61.28 kB / 1.59 GB, free: 4.027 MB / 1.018 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/1.148, allocations: 0.5105 MB / 1.59 GB, free: 3.41 MB / 1.018 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.148, allocations: 37.66 kB / 1.59 GB, free: 3.367 MB / 1.018 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/1.148, allocations: 0 / 1.59 GB, free: 3.367 MB / 1.018 GB Notification: Performance of matching and sorting (n=11): time 0.003362/1.152, allocations: 463.7 kB / 1.591 GB, free: 2.961 MB / 1.018 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.152, allocations: 63.31 kB / 1.591 GB, free: 2.887 MB / 1.018 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/1.152, allocations: 191.5 kB / 1.591 GB, free: 2.727 MB / 1.018 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.152, allocations: 25.7 kB / 1.591 GB, free: 2.695 MB / 1.018 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/1.152, allocations: 111.1 kB / 1.591 GB, free: 2.59 MB / 1.018 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/1.152, allocations: 31.23 kB / 1.591 GB, free: 2.562 MB / 1.018 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/1.152, allocations: 0 / 1.591 GB, free: 2.562 MB / 1.018 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.152, allocations: 333 kB / 1.591 GB, free: 2.238 MB / 1.018 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/1.152, allocations: 46.73 kB / 1.591 GB, free: 2.211 MB / 1.018 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/1.152, allocations: 52.98 kB / 1.591 GB, free: 2.176 MB / 1.018 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/1.155, allocations: 351.1 kB / 1.592 GB, free: 1.867 MB / 1.018 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.155, allocations: 0 / 1.592 GB, free: 1.867 MB / 1.018 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003214/1.159, allocations: 465.8 kB / 1.592 GB, free: 1.461 MB / 1.018 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.159, allocations: 7.984 kB / 1.592 GB, free: 1.453 MB / 1.018 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.159, allocations: 0 / 1.592 GB, free: 1.453 MB / 1.018 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.159, allocations: 0 / 1.592 GB, free: 1.453 MB / 1.018 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/1.159, allocations: 59.89 kB / 1.592 GB, free: 1.395 MB / 1.018 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.159, allocations: 4 kB / 1.592 GB, free: 1.391 MB / 1.018 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/1.159, allocations: 43.89 kB / 1.592 GB, free: 1.348 MB / 1.018 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/1.159, allocations: 8 kB / 1.592 GB, free: 1.34 MB / 1.018 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.055e-05/1.16, allocations: 104.9 kB / 1.592 GB, free: 1.23 MB / 1.018 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/1.16, allocations: 28.73 kB / 1.593 GB, free: 1.203 MB / 1.018 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/1.163, allocations: 488.8 kB / 1.593 GB, free: 0.7891 MB / 1.018 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.163, allocations: 2.25 kB / 1.593 GB, free: 0.7891 MB / 1.018 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.163, allocations: 2 kB / 1.593 GB, free: 0.7891 MB / 1.018 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.163, allocations: 8.484 kB / 1.593 GB, free: 0.7812 MB / 1.018 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/1.163, allocations: 239.5 kB / 1.593 GB, free: 0.543 MB / 1.018 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.163, allocations: 7.984 kB / 1.593 GB, free: 0.5352 MB / 1.018 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/1.164, allocations: 59.33 kB / 1.593 GB, free: 492 kB / 1.018 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.164, allocations: 4 kB / 1.593 GB, free: 488 kB / 1.018 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.164, allocations: 3.984 kB / 1.593 GB, free: 484 kB / 1.018 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.164, allocations: 0 / 1.593 GB, free: 484 kB / 1.018 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.164, allocations: 4 kB / 1.593 GB, free: 480 kB / 1.018 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003344/1.167, allocations: 0.5463 MB / 1.594 GB, free: 15.96 MB / 1.034 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.167, allocations: 111.8 kB / 1.594 GB, free: 15.84 MB / 1.034 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/1.167, allocations: 8.422 kB / 1.594 GB, free: 15.83 MB / 1.034 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/1.167, allocations: 39.95 kB / 1.594 GB, free: 15.79 MB / 1.034 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/1.168, allocations: 15.48 kB / 1.594 GB, free: 15.78 MB / 1.034 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/1.168, allocations: 9.797 kB / 1.594 GB, free: 15.77 MB / 1.034 GB Notification: Performance of sort global known variables: time 0.0001415/1.168, allocations: 152.6 kB / 1.594 GB, free: 15.65 MB / 1.034 GB Notification: Performance of remove unused functions: time 0.0003645/1.168, allocations: 63.06 kB / 1.594 GB, free: 15.59 MB / 1.034 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0003395/1.168, allocations: 191.5 kB / 1.594 GB, free: 15.4 MB / 1.034 GB Notification: Performance of simCode: created initialization part: time 0.0002683/1.169, allocations: 117.9 kB / 1.595 GB, free: 15.32 MB / 1.034 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.169, allocations: 0 / 1.595 GB, free: 15.32 MB / 1.034 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/1.169, allocations: 66.91 kB / 1.595 GB, free: 15.28 MB / 1.034 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.169, allocations: 31.3 kB / 1.595 GB, free: 15.26 MB / 1.034 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/1.17, allocations: 250.4 kB / 1.595 GB, free: 15.02 MB / 1.034 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.17, allocations: 0.7665 MB / 1.596 GB, free: 14.23 MB / 1.034 GB Notification: Performance of SimCode: time 2.51e-07/1.17, allocations: 0 / 1.596 GB, free: 14.23 MB / 1.034 GB Notification: Performance of Templates: time 0.006615/1.177, allocations: 3.072 MB / 1.599 GB, free: 11.25 MB / 1.034 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches