Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [: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.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001033, allocations: 180.4 kB / 316 MB, free: 3.551 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.135/1.135, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0008573/0.0008573, allocations: 94.97 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1663, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.665/3.831, allocations: 2.18 GB / 3.065 GB, free: 225 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/3.831, allocations: 91.83 kB / 3.065 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3465/4.178, allocations: 215 MB / 3.275 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.967e-05/4.178, allocations: 4 kB / 3.275 GB, free: 5.293 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000834/4.179, allocations: 0.6146 MB / 3.275 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/4.179, allocations: 8.031 kB / 3.275 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005935/4.179, allocations: 83.61 kB / 3.275 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/4.18, allocations: 290.2 kB / 3.276 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/4.18, allocations: 11.98 kB / 3.276 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/4.18, allocations: 12 kB / 3.276 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002337/4.18, allocations: 159.8 kB / 3.276 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/4.18, allocations: 236.1 kB / 3.276 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/4.18, allocations: 3.938 kB / 3.276 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/4.18, allocations: 0 / 3.276 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/4.18, allocations: 4 kB / 3.276 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/4.182, allocations: 1.433 MB / 3.277 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/4.182, allocations: 137.1 kB / 3.278 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/4.182, allocations: 72.34 kB / 3.278 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/4.182, allocations: 113.1 kB / 3.278 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/4.182, allocations: 50.39 kB / 3.278 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/4.182, allocations: 0 / 3.278 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004109/4.183, allocations: 137.3 kB / 3.278 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/4.183, allocations: 162.2 kB / 3.278 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/4.183, allocations: 207 kB / 3.278 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/4.183, allocations: 25.7 kB / 3.278 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/4.183, allocations: 152 kB / 3.278 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/4.183, allocations: 35.48 kB / 3.278 GB, free: 1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/4.183, allocations: 0 / 3.278 GB, free: 1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/4.183, allocations: 330.8 kB / 3.279 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/4.183, allocations: 43.98 kB / 3.279 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/4.183, allocations: 137.3 kB / 3.279 GB, free: 468 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/4.183, allocations: 99.83 kB / 3.279 GB, free: 368 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/4.183, allocations: 0 / 3.279 GB, free: 368 kB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000424/4.184, allocations: 221.2 kB / 3.279 GB, free: 140 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/4.184, allocations: 8 kB / 3.279 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/4.184, allocations: 0 / 3.279 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/4.184, allocations: 7.984 kB / 3.279 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/4.184, allocations: 52.28 kB / 3.279 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/4.184, allocations: 8 kB / 3.279 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/4.184, allocations: 19.89 kB / 3.279 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/4.184, allocations: 12 kB / 3.279 GB, free: 32 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.2238/4.408, allocations: 109.5 kB / 3.279 GB, free: 346.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/4.408, allocations: 18.97 kB / 3.279 GB, free: 346.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/4.409, allocations: 119.9 kB / 3.28 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/4.409, allocations: 3.125 kB / 3.28 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/4.409, allocations: 3.906 kB / 3.28 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/4.409, allocations: 3.938 kB / 3.28 GB, free: 346.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/4.41, allocations: 0.7952 MB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/4.41, allocations: 2.906 kB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/4.41, allocations: 29.5 kB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/4.41, allocations: 3.156 kB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/4.41, allocations: 3.281 kB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/4.41, allocations: 6.219 kB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/4.41, allocations: 12.05 kB / 3.28 GB, free: 346.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003612/4.41, allocations: 367.7 kB / 3.281 GB, free: 346 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/4.41, allocations: 115.2 kB / 3.281 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/4.41, allocations: 2.406 kB / 3.281 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/4.41, allocations: 13.42 kB / 3.281 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/4.41, allocations: 12.2 kB / 3.281 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/4.41, allocations: 3.375 kB / 3.281 GB, free: 345.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.337e-05/4.411, allocations: 161.7 kB / 3.281 GB, free: 345.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005684/4.411, allocations: 168.1 kB / 3.281 GB, free: 345.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001106/4.412, allocations: 1.174 MB / 3.282 GB, free: 345.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001823/4.412, allocations: 114.2 kB / 3.282 GB, free: 345.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/4.412, allocations: 0 / 3.282 GB, free: 345.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/4.413, allocations: 44.14 kB / 3.283 GB, free: 345.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/4.413, allocations: 60.42 kB / 3.283 GB, free: 345.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/4.413, allocations: 339.9 kB / 3.283 GB, free: 345.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/4.414, allocations: 0.7867 MB / 3.284 GB, free: 344.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/4.414, allocations: 0 / 3.284 GB, free: 344.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01201/4.426, allocations: 9.611 MB / 3.293 GB, free: 344.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches