Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 289.8 MB / 297 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 177.3 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.2 MB / 0.6256 GB, free: 5.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009999/0.001, allocations: 82.66 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.413e-05/1.417e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6251, allocations: 116.3 MB / 0.9726 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.625/5.25, allocations: 2.061 GB / 3.034 GB, free: 327.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/5.25, allocations: 82.92 kB / 3.034 GB, free: 327.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.3846/5.635, allocations: 207.7 MB / 3.236 GB, free: 145.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.822e-05/5.635, allocations: 11.98 kB / 3.236 GB, free: 145.5 MB / 0.948 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.0009411/5.636, allocations: 0.5715 MB / 3.237 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/5.636, allocations: 8.031 kB / 3.237 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/5.636, allocations: 27.62 kB / 3.237 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/5.636, allocations: 275.5 kB / 3.237 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/5.636, allocations: 12 kB / 3.237 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/5.636, allocations: 8 kB / 3.237 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001848/5.637, allocations: 107.9 kB / 3.237 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/5.637, allocations: 210.5 kB / 3.238 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/5.637, allocations: 0 / 3.238 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/5.637, allocations: 0 / 3.238 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/5.637, allocations: 11.98 kB / 3.238 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/5.638, allocations: 1.29 MB / 3.239 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/5.638, allocations: 147.7 kB / 3.239 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/5.638, allocations: 77.33 kB / 3.239 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/5.638, allocations: 129 kB / 3.239 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/5.638, allocations: 34.56 kB / 3.239 GB, free: 142.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/5.638, allocations: 0 / 3.239 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004122/5.639, allocations: 145.2 kB / 3.239 GB, free: 142.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/5.639, allocations: 187.9 kB / 3.24 GB, free: 141.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/5.639, allocations: 166.1 kB / 3.24 GB, free: 141.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/5.639, allocations: 25.7 kB / 3.24 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/5.639, allocations: 140 kB / 3.24 GB, free: 141.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/5.639, allocations: 35.61 kB / 3.24 GB, free: 141.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/5.639, allocations: 4 kB / 3.24 GB, free: 141.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/5.639, allocations: 330.8 kB / 3.24 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-05/5.639, allocations: 28 kB / 3.24 GB, free: 141.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/5.639, allocations: 110.7 kB / 3.24 GB, free: 141.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/5.639, allocations: 67.92 kB / 3.24 GB, free: 141 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/5.639, allocations: 0 / 3.24 GB, free: 141 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000255/5.64, allocations: 165.4 kB / 3.241 GB, free: 140.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/5.64, allocations: 7.938 kB / 3.241 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/5.64, allocations: 4 kB / 3.241 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/5.64, allocations: 4 kB / 3.241 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/5.64, allocations: 39.83 kB / 3.241 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/5.64, allocations: 7.984 kB / 3.241 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/5.64, allocations: 20.14 kB / 3.241 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/5.64, allocations: 8 kB / 3.241 GB, free: 140.7 MB / 0.948 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 6.22e-05/5.64, allocations: 112.8 kB / 3.241 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/5.64, allocations: 15.81 kB / 3.241 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/5.641, allocations: 122.9 kB / 3.241 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/5.641, allocations: 0 / 3.241 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/5.641, allocations: 8 kB / 3.241 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/5.641, allocations: 3.906 kB / 3.241 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/5.641, allocations: 0.7189 MB / 3.242 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/5.641, allocations: 0 / 3.242 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/5.641, allocations: 32.14 kB / 3.242 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/5.641, allocations: 7.891 kB / 3.242 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/5.641, allocations: 4 kB / 3.242 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/5.641, allocations: 0 / 3.242 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/5.641, allocations: 4 kB / 3.242 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003245/5.642, allocations: 364 kB / 3.242 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/5.642, allocations: 104.8 kB / 3.242 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/5.642, allocations: 0 / 3.242 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/5.642, allocations: 15.98 kB / 3.242 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/5.642, allocations: 11.98 kB / 3.242 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/5.642, allocations: 4 kB / 3.242 GB, free: 139.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001095/5.642, allocations: 140.7 kB / 3.242 GB, free: 138.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005666/5.643, allocations: 139.7 kB / 3.242 GB, free: 138.8 MB / 0.948 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.00133/5.644, allocations: 1.129 MB / 3.244 GB, free: 137.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001963/5.644, allocations: 83.95 kB / 3.244 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/5.644, allocations: 448 / 3.244 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/5.644, allocations: 43.92 kB / 3.244 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/5.645, allocations: 61.28 kB / 3.244 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/5.645, allocations: 332.7 kB / 3.244 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/5.646, allocations: 0.7861 MB / 3.245 GB, free: 136.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/5.646, allocations: 0 / 3.245 GB, free: 136.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01262/5.658, allocations: 8.295 MB / 3.253 GB, free: 128 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)