Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T") [: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.047/2.047, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001305/0.001305, allocations: 181.2 kB / 487 MB, free: 5.375 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.449/1.449, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.001109/0.001109, allocations: 91.27 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.052e-05, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.572/4.887, allocations: 1.873 GB / 3.078 GB, free: 431.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/4.887, allocations: 92.22 kB / 3.078 GB, free: 431.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.703/6.591, allocations: 0.6086 GB / 3.687 GB, free: 252.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.32e-05/6.591, allocations: 27.84 kB / 3.687 GB, free: 252 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002033/6.593, allocations: 1.122 MB / 3.688 GB, free: 250.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/6.593, allocations: 13.03 kB / 3.688 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/6.595, allocations: 278.5 kB / 3.688 GB, free: 250.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/6.596, allocations: 0.5768 MB / 3.689 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/6.596, allocations: 26.75 kB / 3.689 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/6.596, allocations: 48 kB / 3.689 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007928/6.597, allocations: 0.5193 MB / 3.69 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/6.598, allocations: 0.7828 MB / 3.69 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/6.598, allocations: 11.69 kB / 3.69 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/6.598, allocations: 3.906 kB / 3.69 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/6.598, allocations: 41.3 kB / 3.69 GB, free: 248.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/6.601, allocations: 3.703 MB / 3.694 GB, free: 244.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/6.601, allocations: 176.5 kB / 3.694 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/6.601, allocations: 122.5 kB / 3.694 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006066/6.602, allocations: 0.627 MB / 3.695 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/6.602, allocations: 46.55 kB / 3.695 GB, free: 243.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.935e-06/6.602, allocations: 0 / 3.695 GB, free: 243.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.00144/6.603, allocations: 409.1 kB / 3.695 GB, free: 243.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/6.603, allocations: 110.7 kB / 3.695 GB, free: 243 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/6.604, allocations: 349.2 kB / 3.696 GB, free: 242.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/6.604, allocations: 28.88 kB / 3.696 GB, free: 242.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/6.604, allocations: 358.8 kB / 3.696 GB, free: 242.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/6.604, allocations: 63.11 kB / 3.696 GB, free: 242.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/6.604, allocations: 0 / 3.696 GB, free: 242.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/6.604, allocations: 350.9 kB / 3.697 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/6.604, allocations: 91.95 kB / 3.697 GB, free: 241.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/6.604, allocations: 206.4 kB / 3.697 GB, free: 241.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/6.605, allocations: 166.2 kB / 3.697 GB, free: 241.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/6.605, allocations: 4 kB / 3.697 GB, free: 241.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004991/6.605, allocations: 344.8 kB / 3.697 GB, free: 241 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/6.605, allocations: 4 kB / 3.697 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/6.605, allocations: 4.344 kB / 3.697 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/6.605, allocations: 8 kB / 3.697 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/6.605, allocations: 67.91 kB / 3.697 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/6.605, allocations: 11.92 kB / 3.697 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/6.606, allocations: 51.66 kB / 3.697 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/6.606, allocations: 16 kB / 3.698 GB, free: 240.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 7.528e-05/6.606, allocations: 120.6 kB / 3.698 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/6.606, allocations: 51.33 kB / 3.698 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/6.607, allocations: 261.9 kB / 3.698 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/6.607, allocations: 7.906 kB / 3.698 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/6.607, allocations: 0 / 3.698 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/6.607, allocations: 0 / 3.698 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/6.608, allocations: 1.201 MB / 3.699 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/6.608, allocations: 4 kB / 3.699 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/6.608, allocations: 47.91 kB / 3.699 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/6.608, allocations: 4 kB / 3.699 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/6.608, allocations: 4 kB / 3.699 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/6.608, allocations: 8 kB / 3.699 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/6.608, allocations: 6.844 kB / 3.699 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005479/6.609, allocations: 0.6288 MB / 3.7 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/6.609, allocations: 148.4 kB / 3.7 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/6.609, allocations: 4 kB / 3.7 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/6.609, allocations: 31.97 kB / 3.7 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/6.61, allocations: 19.89 kB / 3.7 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/6.61, allocations: 8 kB / 3.7 GB, free: 238 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000198/6.61, allocations: 267.2 kB / 3.7 GB, free: 237.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009342/6.611, allocations: 339.2 kB / 3.701 GB, free: 237.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002387/6.613, allocations: 2.225 MB / 3.703 GB, free: 235.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000316/6.613, allocations: 200.4 kB / 3.703 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.613, allocations: 4.062 kB / 3.703 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/6.614, allocations: 103.8 kB / 3.703 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/6.614, allocations: 166.7 kB / 3.703 GB, free: 234.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/6.616, allocations: 0.8507 MB / 3.704 GB, free: 234 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/6.616, allocations: 1.045 MB / 3.705 GB, free: 232.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/6.616, allocations: 3.062 kB / 3.705 GB, free: 232.9 MB / 1.151 GB Notification: Performance of Templates: time 0.0251/6.641, allocations: 18.24 MB / 3.723 GB, free: 214.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches