Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [: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.953/1.953, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001026/0.001026, allocations: 193.2 kB / 490.8 MB, free: 1.859 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.314/1.314, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.001009/0.001008, allocations: 93.45 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.264e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.252, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.879/1.131, allocations: 374.2 MB / 1.577 GB, free: 8.594 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.131, allocations: 86.38 kB / 1.577 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.02392/1.155, allocations: 9.405 MB / 1.586 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.155, allocations: 4 kB / 1.586 GB, free: 1.004 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007475/1.156, allocations: 464.6 kB / 1.587 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.156, allocations: 8.031 kB / 1.587 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/1.156, allocations: 19.72 kB / 1.587 GB, free: 500 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/1.157, allocations: 247.5 kB / 1.587 GB, free: 220 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/1.157, allocations: 0 / 1.587 GB, free: 220 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/1.157, allocations: 4 kB / 1.587 GB, free: 216 kB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/1.157, allocations: 72.62 kB / 1.587 GB, free: 168 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/1.157, allocations: 116.9 kB / 1.587 GB, free: 68 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.157, allocations: 3.938 kB / 1.587 GB, free: 64 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/1.157, allocations: 4 kB / 1.587 GB, free: 60 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/1.157, allocations: 11.98 kB / 1.587 GB, free: 48 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/1.158, allocations: 442.4 kB / 1.588 GB, free: 15.63 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/1.158, allocations: 129.7 kB / 1.588 GB, free: 15.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/1.158, allocations: 78.77 kB / 1.588 GB, free: 15.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/1.158, allocations: 4 kB / 1.588 GB, free: 15.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.158, allocations: 37.69 kB / 1.588 GB, free: 15.43 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.158, allocations: 0 / 1.588 GB, free: 15.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0005842/1.159, allocations: 203.7 kB / 1.588 GB, free: 15.26 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.159, allocations: 51.41 kB / 1.588 GB, free: 15.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/1.159, allocations: 180.5 kB / 1.588 GB, free: 15.04 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/1.159, allocations: 25.7 kB / 1.588 GB, free: 15.01 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/1.159, allocations: 95.31 kB / 1.588 GB, free: 14.92 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/1.159, allocations: 46.8 kB / 1.588 GB, free: 14.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-06/1.159, allocations: 0 / 1.588 GB, free: 14.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.159, allocations: 333.1 kB / 1.589 GB, free: 14.55 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/1.16, allocations: 46.36 kB / 1.589 GB, free: 14.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/1.16, allocations: 51.3 kB / 1.589 GB, free: 14.49 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/1.16, allocations: 92.52 kB / 1.589 GB, free: 14.42 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.16, allocations: 0 / 1.589 GB, free: 14.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004478/1.16, allocations: 196.8 kB / 1.589 GB, free: 14.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.16, allocations: 8 kB / 1.589 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.16, allocations: 4 kB / 1.589 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.16, allocations: 0 / 1.589 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/1.161, allocations: 51.52 kB / 1.589 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.161, allocations: 0 / 1.589 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/1.161, allocations: 27.83 kB / 1.589 GB, free: 14.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/1.161, allocations: 7.984 kB / 1.589 GB, free: 14.16 MB / 1.01 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 (13): * Single equations (assignments): 13 * 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 8.12e-05/1.161, allocations: 101 kB / 1.589 GB, free: 14.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.161, allocations: 23.72 kB / 1.589 GB, free: 14.03 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/1.161, allocations: 24.27 kB / 1.589 GB, free: 14.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.161, allocations: 4 kB / 1.589 GB, free: 14.01 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.161, allocations: 0 / 1.589 GB, free: 14.01 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.161, allocations: 0 / 1.589 GB, free: 14.01 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/1.162, allocations: 243.8 kB / 1.59 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.162, allocations: 0 / 1.59 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/1.162, allocations: 39.91 kB / 1.59 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.162, allocations: 0 / 1.59 GB, free: 13.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/1.162, allocations: 15.36 kB / 1.59 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/1.162, allocations: 0 / 1.59 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.162, allocations: 0 / 1.59 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005115/1.162, allocations: 306.3 kB / 1.59 GB, free: 13.44 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.162, allocations: 112 kB / 1.59 GB, free: 13.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/1.163, allocations: 0 / 1.59 GB, free: 13.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.163, allocations: 19.98 kB / 1.59 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/1.163, allocations: 11.8 kB / 1.59 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.163, allocations: 4 kB / 1.59 GB, free: 13.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0001094/1.163, allocations: 144.8 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002776/1.163, allocations: 35 kB / 1.59 GB, free: 13.13 MB / 1.01 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 (13): * Single equations (assignments): 13 * 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.0002692/1.163, allocations: 161.7 kB / 1.59 GB, free: 12.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002333/1.164, allocations: 119.9 kB / 1.591 GB, free: 12.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.164, allocations: 3.5 kB / 1.591 GB, free: 12.88 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/1.164, allocations: 69.03 kB / 1.591 GB, free: 12.83 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/1.164, allocations: 34.52 kB / 1.591 GB, free: 12.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/1.165, allocations: 231.8 kB / 1.591 GB, free: 12.58 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/1.165, allocations: 0.7574 MB / 1.592 GB, free: 11.8 MB / 1.01 GB Notification: Performance of SimCode: time 2.3e-07/1.165, allocations: 4 kB / 1.592 GB, free: 11.8 MB / 1.01 GB Notification: Performance of Templates: time 0.005456/1.171, allocations: 2.338 MB / 1.594 GB, free: 9.492 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches