Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 15.79 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009936/0.0009939, allocations: 178.7 kB / 316 MB, free: 7.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 0.5667 GB, free: 23.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000916/0.000916, allocations: 80.02 kB / 0.671 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.576e-06, allocations: 4 kB / 0.7807 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4016, allocations: 106.3 MB / 0.8846 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.351/3.753, allocations: 2.186 GB / 3.071 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/3.753, allocations: 83.89 kB / 3.071 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.249/5.002, allocations: 0.5836 GB / 3.654 GB, free: 53.67 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.521e-05/5.002, allocations: 23.98 kB / 3.654 GB, free: 53.65 MB / 0.8698 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.001597/5.004, allocations: 1.122 MB / 3.656 GB, free: 52.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/5.004, allocations: 8.031 kB / 3.656 GB, free: 52.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/5.006, allocations: 294.5 kB / 3.656 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/5.006, allocations: 0.5762 MB / 3.656 GB, free: 51.56 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/5.006, allocations: 27.91 kB / 3.656 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/5.007, allocations: 44 kB / 3.656 GB, free: 51.49 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007081/5.007, allocations: 0.5193 MB / 3.657 GB, free: 50.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/5.008, allocations: 0.7777 MB / 3.658 GB, free: 50.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/5.008, allocations: 7.938 kB / 3.658 GB, free: 50.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/5.008, allocations: 4 kB / 3.658 GB, free: 50.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/5.008, allocations: 41.3 kB / 3.658 GB, free: 50.08 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/5.011, allocations: 3.707 MB / 3.661 GB, free: 46.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/5.011, allocations: 173.6 kB / 3.662 GB, free: 45.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/5.011, allocations: 130.5 kB / 3.662 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/5.012, allocations: 0.6325 MB / 3.662 GB, free: 45.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/5.012, allocations: 34.88 kB / 3.662 GB, free: 44.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.754e-06/5.012, allocations: 4 kB / 3.662 GB, free: 44.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00138/5.013, allocations: 408.7 kB / 3.663 GB, free: 44.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/5.013, allocations: 110.9 kB / 3.663 GB, free: 44.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/5.013, allocations: 357 kB / 3.663 GB, free: 44.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/5.014, allocations: 25.7 kB / 3.663 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/5.014, allocations: 355 kB / 3.664 GB, free: 43.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/5.014, allocations: 66.95 kB / 3.664 GB, free: 43.63 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/5.014, allocations: 3.938 kB / 3.664 GB, free: 43.63 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/5.014, allocations: 350.8 kB / 3.664 GB, free: 43.28 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/5.014, allocations: 90.08 kB / 3.664 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/5.014, allocations: 206.5 kB / 3.664 GB, free: 42.94 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/5.014, allocations: 155.8 kB / 3.664 GB, free: 42.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/5.014, allocations: 0 / 3.664 GB, free: 42.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004899/5.015, allocations: 358 kB / 3.665 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/5.015, allocations: 4 kB / 3.665 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/5.015, allocations: 4 kB / 3.665 GB, free: 42.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/5.015, allocations: 4 kB / 3.665 GB, free: 42.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/5.015, allocations: 64.25 kB / 3.665 GB, free: 42.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/5.015, allocations: 7.938 kB / 3.665 GB, free: 42.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/5.016, allocations: 47.72 kB / 3.665 GB, free: 42.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/5.016, allocations: 23.98 kB / 3.665 GB, free: 42.28 MB / 0.8698 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 6.168e-05/5.016, allocations: 112.9 kB / 3.665 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/5.016, allocations: 43.44 kB / 3.665 GB, free: 42.12 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/5.016, allocations: 264.1 kB / 3.665 GB, free: 41.85 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/5.016, allocations: 7.984 kB / 3.665 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.016, allocations: 0 / 3.665 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/5.016, allocations: 4 kB / 3.665 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/5.018, allocations: 1.2 MB / 3.666 GB, free: 40.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/5.018, allocations: 0 / 3.666 GB, free: 40.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/5.018, allocations: 48.39 kB / 3.666 GB, free: 40.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/5.018, allocations: 4 kB / 3.666 GB, free: 40.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/5.018, allocations: 11.91 kB / 3.666 GB, free: 40.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/5.018, allocations: 7.984 kB / 3.667 GB, free: 40.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.018, allocations: 4.094 kB / 3.667 GB, free: 40.47 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004325/5.018, allocations: 0.6183 MB / 3.667 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/5.018, allocations: 148.5 kB / 3.667 GB, free: 39.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/5.018, allocations: 4 kB / 3.667 GB, free: 39.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/5.019, allocations: 35.97 kB / 3.667 GB, free: 39.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/5.019, allocations: 19.92 kB / 3.667 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/5.019, allocations: 8 kB / 3.667 GB, free: 39.47 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001808/5.019, allocations: 279.1 kB / 3.668 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007819/5.02, allocations: 327.2 kB / 3.668 GB, free: 38.88 MB / 0.8698 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.001883/5.022, allocations: 2.22 MB / 3.67 GB, free: 36.56 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002798/5.022, allocations: 207.7 kB / 3.67 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/5.022, allocations: 0 / 3.67 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/5.022, allocations: 97.41 kB / 3.67 GB, free: 36.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/5.023, allocations: 181.2 kB / 3.671 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/5.024, allocations: 0.8426 MB / 3.671 GB, free: 35.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/5.024, allocations: 1.045 MB / 3.672 GB, free: 34.11 MB / 0.8698 GB Notification: Performance of SimCode: time 3e-07/5.024, allocations: 0 / 3.672 GB, free: 34.11 MB / 0.8698 GB Notification: Performance of Templates: time 0.02227/5.047, allocations: 18.23 MB / 3.69 GB, free: 15.97 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches