Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7036/0.7036, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001478, allocations: 177.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008322, allocations: 81.94 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.082e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1746, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.093/5.267, allocations: 2.135 GB / 2.756 GB, free: 77.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.268, allocations: 87.94 kB / 2.756 GB, free: 77.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.7422/6.01, allocations: 207.8 MB / 2.959 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.962e-05/6.01, allocations: 8 kB / 2.959 GB, free: 121.5 MB / 0.6355 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.001333/6.011, allocations: 0.5606 MB / 2.96 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/6.011, allocations: 8.031 kB / 2.96 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/6.012, allocations: 31.72 kB / 2.96 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/6.012, allocations: 275.6 kB / 2.96 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/6.012, allocations: 4 kB / 2.96 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/6.012, allocations: 12 kB / 2.96 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002957/6.013, allocations: 99.98 kB / 2.96 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/6.013, allocations: 203.6 kB / 2.96 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/6.013, allocations: 3.938 kB / 2.96 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/6.013, allocations: 0 / 2.96 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/6.013, allocations: 7.938 kB / 2.96 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/6.014, allocations: 0.954 MB / 2.961 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/6.014, allocations: 111.9 kB / 2.961 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/6.014, allocations: 54.64 kB / 2.961 GB, free: 119 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/6.015, allocations: 117.1 kB / 2.962 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/6.015, allocations: 42.56 kB / 2.962 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/6.015, allocations: 0 / 2.962 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004627/6.015, allocations: 133.4 kB / 2.962 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/6.015, allocations: 102.8 kB / 2.962 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/6.015, allocations: 163 kB / 2.962 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/6.016, allocations: 25.7 kB / 2.962 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/6.016, allocations: 147.8 kB / 2.962 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/6.016, allocations: 31.55 kB / 2.962 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/6.016, allocations: 4.062 kB / 2.962 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/6.016, allocations: 326.8 kB / 2.962 GB, free: 117.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/6.016, allocations: 27.98 kB / 2.963 GB, free: 117.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/6.016, allocations: 95.59 kB / 2.963 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/6.016, allocations: 59.94 kB / 2.963 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/6.016, allocations: 0 / 2.963 GB, free: 117.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002841/6.016, allocations: 161.3 kB / 2.963 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/6.016, allocations: 4 kB / 2.963 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/6.016, allocations: 4.188 kB / 2.963 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/6.016, allocations: 4 kB / 2.963 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/6.017, allocations: 31.92 kB / 2.963 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/6.017, allocations: 7.906 kB / 2.963 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/6.017, allocations: 19.98 kB / 2.963 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/6.017, allocations: 11.98 kB / 2.963 GB, free: 117.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.611e-05/6.017, allocations: 112.8 kB / 2.963 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/6.017, allocations: 15.81 kB / 2.963 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/6.017, allocations: 110.7 kB / 2.963 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/6.017, allocations: 4 kB / 2.963 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/6.017, allocations: 48 / 2.963 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/6.017, allocations: 3.984 kB / 2.963 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/6.018, allocations: 497.7 kB / 2.964 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/6.018, allocations: 4 kB / 2.964 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/6.018, allocations: 27.92 kB / 2.964 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/6.018, allocations: 8.062 kB / 2.964 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/6.018, allocations: 4 kB / 2.964 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/6.018, allocations: 4 kB / 2.964 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/6.018, allocations: 0 / 2.964 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000372/6.018, allocations: 337.4 kB / 2.964 GB, free: 116.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/6.019, allocations: 88.92 kB / 2.964 GB, free: 116 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/6.019, allocations: 7.906 kB / 2.964 GB, free: 116 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/6.019, allocations: 16.05 kB / 2.964 GB, free: 116 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/6.019, allocations: 11.98 kB / 2.964 GB, free: 116 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/6.019, allocations: 4 kB / 2.964 GB, free: 116 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.769e-05/6.019, allocations: 125.6 kB / 2.964 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005954/6.019, allocations: 131.8 kB / 2.964 GB, free: 115.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.00169/6.021, allocations: 1.145 MB / 2.965 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001827/6.021, allocations: 75.92 kB / 2.966 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/6.021, allocations: 0 / 2.966 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/6.021, allocations: 39.92 kB / 2.966 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/6.022, allocations: 56.52 kB / 2.966 GB, free: 114.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/6.022, allocations: 316.4 kB / 2.966 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/6.023, allocations: 0.7858 MB / 2.967 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/6.023, allocations: 0 / 2.967 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.01322/6.036, allocations: 8.255 MB / 2.975 GB, free: 105.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)