Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [: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.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 6.961 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.001089/0.001089, allocations: 181.3 kB / 316 MB, free: 3.535 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.108/1.108, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008766/0.0008767, allocations: 94.2 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.915e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1719, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.695/3.867, allocations: 2.179 GB / 3.064 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/3.867, allocations: 81.41 kB / 3.064 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3281/4.195, allocations: 201.2 MB / 3.26 GB, free: 20.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.811e-05/4.195, allocations: 7.984 kB / 3.26 GB, free: 20.14 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000697/4.196, allocations: 0.5601 MB / 3.261 GB, free: 19.54 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/4.196, allocations: 12.03 kB / 3.261 GB, free: 19.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/4.196, allocations: 27.72 kB / 3.261 GB, free: 19.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/4.196, allocations: 282.1 kB / 3.261 GB, free: 19.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/4.196, allocations: 11.98 kB / 3.261 GB, free: 19.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/4.196, allocations: 12 kB / 3.261 GB, free: 19.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001732/4.196, allocations: 103.8 kB / 3.261 GB, free: 19.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/4.197, allocations: 214.4 kB / 3.262 GB, free: 18.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/4.197, allocations: 0 / 3.262 GB, free: 18.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/4.197, allocations: 3.984 kB / 3.262 GB, free: 18.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/4.197, allocations: 8 kB / 3.262 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/4.197, allocations: 1.279 MB / 3.263 GB, free: 17.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/4.198, allocations: 159.6 kB / 3.263 GB, free: 17.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/4.198, allocations: 81.27 kB / 3.263 GB, free: 17.13 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/4.198, allocations: 117.1 kB / 3.263 GB, free: 17 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/4.198, allocations: 38.5 kB / 3.263 GB, free: 16.95 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/4.198, allocations: 0 / 3.263 GB, free: 16.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003995/4.198, allocations: 141.4 kB / 3.263 GB, free: 16.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/4.198, allocations: 188 kB / 3.263 GB, free: 16.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/4.198, allocations: 166.6 kB / 3.264 GB, free: 16.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/4.198, allocations: 29.7 kB / 3.264 GB, free: 16.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/4.199, allocations: 140 kB / 3.264 GB, free: 16.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/4.199, allocations: 31.55 kB / 3.264 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/4.199, allocations: 4 kB / 3.264 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/4.199, allocations: 326.8 kB / 3.264 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/4.199, allocations: 31.98 kB / 3.264 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/4.199, allocations: 96.52 kB / 3.264 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/4.199, allocations: 71.86 kB / 3.264 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/4.199, allocations: 3.906 kB / 3.264 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002457/4.199, allocations: 157.3 kB / 3.265 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.098e-06/4.199, allocations: 4 kB / 3.265 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/4.199, allocations: 11.97 kB / 3.265 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/4.199, allocations: 416 / 3.265 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/4.199, allocations: 43.98 kB / 3.265 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/4.199, allocations: 7.938 kB / 3.265 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/4.199, allocations: 19.89 kB / 3.265 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/4.2, allocations: 12 kB / 3.265 GB, free: 15.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 5.031e-05/4.2, allocations: 105 kB / 3.265 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/4.2, allocations: 19.8 kB / 3.265 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/4.2, allocations: 122.5 kB / 3.265 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/4.2, allocations: 4 kB / 3.265 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/4.2, allocations: 0 / 3.265 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/4.2, allocations: 4 kB / 3.265 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/4.201, allocations: 0.7305 MB / 3.266 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/4.201, allocations: 0 / 3.266 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/4.201, allocations: 23.98 kB / 3.266 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/4.201, allocations: 4.156 kB / 3.266 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/4.201, allocations: 4 kB / 3.266 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/4.201, allocations: 7.938 kB / 3.266 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/4.201, allocations: 0 / 3.266 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003044/4.201, allocations: 371.9 kB / 3.266 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/4.201, allocations: 100.9 kB / 3.266 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/4.201, allocations: 7.984 kB / 3.266 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/4.201, allocations: 16.05 kB / 3.266 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/4.201, allocations: 4 kB / 3.266 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/4.201, allocations: 8 kB / 3.266 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.218e-05/4.201, allocations: 140.2 kB / 3.266 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004863/4.202, allocations: 127.8 kB / 3.266 GB, free: 13.45 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.001034/4.203, allocations: 1.133 MB / 3.267 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001515/4.203, allocations: 83.91 kB / 3.268 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/4.203, allocations: 0 / 3.268 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/4.203, allocations: 39.94 kB / 3.268 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/4.203, allocations: 64.55 kB / 3.268 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/4.204, allocations: 336.5 kB / 3.268 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/4.204, allocations: 0.7744 MB / 3.269 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/4.204, allocations: 0 / 3.269 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of Templates: time 0.01094/4.215, allocations: 8.222 MB / 3.277 GB, free: 2.773 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches