Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7908/0.7908, allocations: 141.8 MB / 149.1 MB, free: 3.777 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 180.2 kB / 181.9 MB, free: 15.55 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.4 MB / 436 MB, free: 8.703 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 106.3 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 277.9 kB / 0.5884 GB, free: 11.76 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.127e-06, allocations: 0 / 0.6759 GB, free: 2.125 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4888, allocations: 82.76 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.93/4.419, allocations: 1.826 GB / 2.582 GB, free: 267.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/4.42, allocations: 89.67 kB / 2.583 GB, free: 267.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.401/4.821, allocations: 209.8 MB / 2.787 GB, free: 53.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 3.229e-05/4.821, allocations: 8 kB / 2.787 GB, free: 53.79 MB / 0.6982 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.001132/4.822, allocations: 0.5638 MB / 2.788 GB, free: 53.18 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/4.822, allocations: 13.03 kB / 2.788 GB, free: 53.17 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/4.822, allocations: 27.62 kB / 2.788 GB, free: 53.14 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/4.822, allocations: 283.4 kB / 2.788 GB, free: 52.82 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/4.823, allocations: 8 kB / 2.788 GB, free: 52.82 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/4.823, allocations: 12 kB / 2.788 GB, free: 52.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002215/4.823, allocations: 95.97 kB / 2.788 GB, free: 52.71 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/4.823, allocations: 218.5 kB / 2.789 GB, free: 52.46 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/4.823, allocations: 7.938 kB / 2.789 GB, free: 52.45 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/4.823, allocations: 0 / 2.789 GB, free: 52.45 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/4.823, allocations: 4 kB / 2.789 GB, free: 52.45 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/4.824, allocations: 1.29 MB / 2.79 GB, free: 51.08 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/4.824, allocations: 159.8 kB / 2.79 GB, free: 50.87 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/4.825, allocations: 73.2 kB / 2.79 GB, free: 50.78 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/4.825, allocations: 117.1 kB / 2.79 GB, free: 50.64 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/4.825, allocations: 50.34 kB / 2.79 GB, free: 50.59 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/4.825, allocations: 0 / 2.79 GB, free: 50.59 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10): time 0.0004755/4.825, allocations: 141.3 kB / 2.79 GB, free: 50.44 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/4.825, allocations: 183.9 kB / 2.791 GB, free: 50.22 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/4.826, allocations: 166.3 kB / 2.791 GB, free: 50.05 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/4.826, allocations: 29.7 kB / 2.791 GB, free: 50.01 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/4.826, allocations: 144 kB / 2.791 GB, free: 49.87 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/4.826, allocations: 35.45 kB / 2.791 GB, free: 49.83 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/4.826, allocations: 0 / 2.791 GB, free: 49.83 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/4.826, allocations: 326.8 kB / 2.791 GB, free: 49.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/4.826, allocations: 31.92 kB / 2.791 GB, free: 49.47 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/4.826, allocations: 109.4 kB / 2.791 GB, free: 49.33 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/4.826, allocations: 67.92 kB / 2.791 GB, free: 49.27 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/4.826, allocations: 4 kB / 2.791 GB, free: 49.26 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002811/4.826, allocations: 161.4 kB / 2.792 GB, free: 49.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/4.826, allocations: 4 kB / 2.792 GB, free: 49.09 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/4.826, allocations: 7.906 kB / 2.792 GB, free: 49.09 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/4.826, allocations: 0 / 2.792 GB, free: 49.09 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/4.827, allocations: 44.14 kB / 2.792 GB, free: 49.04 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-06/4.827, allocations: 4 kB / 2.792 GB, free: 49.04 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/4.827, allocations: 19.89 kB / 2.792 GB, free: 49.02 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/4.827, allocations: 11.98 kB / 2.792 GB, free: 49.01 MB / 0.6982 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 7.824e-05/4.827, allocations: 112.9 kB / 2.792 GB, free: 48.89 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/4.827, allocations: 19.81 kB / 2.792 GB, free: 48.87 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/4.827, allocations: 114.7 kB / 2.792 GB, free: 48.75 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/4.827, allocations: 0 / 2.792 GB, free: 48.75 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/4.827, allocations: 11.84 kB / 2.792 GB, free: 48.74 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/4.827, allocations: 3.984 kB / 2.792 GB, free: 48.74 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/4.828, allocations: 0.7189 MB / 2.793 GB, free: 47.96 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/4.828, allocations: 0 / 2.793 GB, free: 47.96 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/4.828, allocations: 27.92 kB / 2.793 GB, free: 47.93 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/4.828, allocations: 4 kB / 2.793 GB, free: 47.93 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/4.828, allocations: 4 kB / 2.793 GB, free: 47.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/4.828, allocations: 4.125 kB / 2.793 GB, free: 47.92 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/4.828, allocations: 8.156 kB / 2.793 GB, free: 47.91 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003895/4.829, allocations: 360.4 kB / 2.793 GB, free: 47.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/4.829, allocations: 108.8 kB / 2.793 GB, free: 47.37 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/4.829, allocations: 3.938 kB / 2.793 GB, free: 47.37 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/4.829, allocations: 12.05 kB / 2.793 GB, free: 47.36 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/4.829, allocations: 24 kB / 2.793 GB, free: 47.33 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/4.829, allocations: 4 kB / 2.793 GB, free: 47.33 MB / 0.6982 GB Notification: Performance of sort global known variables: time 8.339e-05/4.829, allocations: 132.7 kB / 2.793 GB, free: 47.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0005796/4.83, allocations: 135.8 kB / 2.793 GB, free: 47.07 MB / 0.6982 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.001611/4.831, allocations: 1.128 MB / 2.794 GB, free: 45.94 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001921/4.831, allocations: 79.86 kB / 2.795 GB, free: 45.86 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/4.831, allocations: 4 kB / 2.795 GB, free: 45.86 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/4.832, allocations: 44.42 kB / 2.795 GB, free: 45.81 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/4.832, allocations: 63.11 kB / 2.795 GB, free: 45.75 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/4.833, allocations: 335.3 kB / 2.795 GB, free: 45.39 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/4.833, allocations: 0.7862 MB / 2.796 GB, free: 44.58 MB / 0.6982 GB Notification: Performance of SimCode: time 3.3e-07/4.833, allocations: 0 / 2.796 GB, free: 44.58 MB / 0.6982 GB Notification: Performance of Templates: time 0.01376/4.847, allocations: 8.315 MB / 2.804 GB, free: 36.29 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)