Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.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_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.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.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.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.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h") [: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.109/2.109, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001108/0.001107, allocations: 181.2 kB / 487 MB, free: 5.328 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.471/1.471, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0009899/0.00099, allocations: 102.5 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.815e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2991, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.78, allocations: 1.869 GB / 3.075 GB, free: 368.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/4.78, allocations: 82.56 kB / 3.075 GB, free: 368.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.356/6.136, allocations: 414.7 MB / 3.48 GB, free: 307 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.444e-05/6.136, allocations: 27.31 kB / 3.48 GB, free: 307 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001369/6.137, allocations: 0.8438 MB / 3.48 GB, free: 306.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/6.137, allocations: 11.03 kB / 3.48 GB, free: 306.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/6.137, allocations: 68.81 kB / 3.481 GB, free: 306.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/6.138, allocations: 427.8 kB / 3.481 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/6.138, allocations: 16.56 kB / 3.481 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/6.138, allocations: 33.88 kB / 3.481 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000421/6.138, allocations: 284.7 kB / 3.481 GB, free: 306.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/6.139, allocations: 0.5881 MB / 3.482 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/6.139, allocations: 7.906 kB / 3.482 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/6.139, allocations: 3.844 kB / 3.482 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/6.139, allocations: 41.56 kB / 3.482 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/6.141, allocations: 2.991 MB / 3.485 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/6.141, allocations: 199.9 kB / 3.485 GB, free: 303.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/6.141, allocations: 117.4 kB / 3.485 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/6.141, allocations: 0 / 3.485 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/6.141, allocations: 51.86 kB / 3.485 GB, free: 303.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/6.141, allocations: 2.25 kB / 3.485 GB, free: 303.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003985/6.142, allocations: 133.5 kB / 3.485 GB, free: 303.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/6.142, allocations: 292.6 kB / 3.486 GB, free: 303.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/6.142, allocations: 220 kB / 3.486 GB, free: 303 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/6.142, allocations: 29.3 kB / 3.486 GB, free: 303 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/6.142, allocations: 256.1 kB / 3.486 GB, free: 302.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/6.142, allocations: 39.86 kB / 3.486 GB, free: 302.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/6.142, allocations: 0 / 3.486 GB, free: 302.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/6.142, allocations: 333.9 kB / 3.486 GB, free: 302.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/6.142, allocations: 22.62 kB / 3.486 GB, free: 302.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/6.142, allocations: 110.2 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/6.142, allocations: 40.08 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/6.142, allocations: 0 / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001446/6.142, allocations: 120.7 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/6.142, allocations: 5.969 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/6.142, allocations: 0 / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/6.142, allocations: 6.344 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/6.143, allocations: 33.62 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/6.143, allocations: 3.094 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/6.143, allocations: 23.91 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/6.143, allocations: 14.25 kB / 3.487 GB, free: 302.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.419e-05/6.143, allocations: 108.1 kB / 3.487 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/6.143, allocations: 26.88 kB / 3.487 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/6.143, allocations: 34.66 kB / 3.487 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/6.143, allocations: 3.906 kB / 3.487 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/6.143, allocations: 3.156 kB / 3.487 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/6.143, allocations: 7.469 kB / 3.487 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/6.144, allocations: 1.216 MB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/6.144, allocations: 6.719 kB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/6.144, allocations: 26.19 kB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/6.144, allocations: 2.5 kB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/6.144, allocations: 3.781 kB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/6.144, allocations: 10.62 kB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/6.144, allocations: 6.938 kB / 3.488 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002182/6.145, allocations: 377.6 kB / 3.489 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/6.145, allocations: 109.5 kB / 3.489 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/6.145, allocations: 7.5 kB / 3.489 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/6.145, allocations: 18.19 kB / 3.489 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/6.145, allocations: 16.88 kB / 3.489 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/6.145, allocations: 9.812 kB / 3.489 GB, free: 300.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001127/6.145, allocations: 175.4 kB / 3.489 GB, free: 300.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007715/6.146, allocations: 216.4 kB / 3.489 GB, free: 300.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002004/6.148, allocations: 1.648 MB / 3.491 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001616/6.148, allocations: 82.22 kB / 3.491 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/6.148, allocations: 0 / 3.491 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/6.148, allocations: 47.41 kB / 3.491 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/6.149, allocations: 93.69 kB / 3.491 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/6.15, allocations: 0.584 MB / 3.491 GB, free: 300.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/6.15, allocations: 0.9396 MB / 3.492 GB, free: 299.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/6.15, allocations: 3.375 kB / 3.492 GB, free: 299.4 MB / 1.151 GB Notification: Performance of Templates: time 0.0188/6.169, allocations: 11.85 MB / 3.504 GB, free: 299.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches