Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") [: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.7533/0.7533, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001215/0.001215, allocations: 181.3 kB / 164.4 MB, free: 6.867 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.785/1.785, allocations: 205.1 MB / 399.1 MB, free: 6.047 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.0009931/0.0009931, allocations: 86.95 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.175e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1909, allocations: 76.76 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.463/4.654, allocations: 2.138 GB / 2.759 GB, free: 74.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/4.654, allocations: 83.95 kB / 2.759 GB, free: 74.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.9134/5.567, allocations: 301.9 MB / 3.054 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.272e-05/5.567, allocations: 15.98 kB / 3.054 GB, free: 22.25 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001986/5.569, allocations: 0.7094 MB / 3.055 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/5.57, allocations: 19.97 kB / 3.055 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/5.571, allocations: 147.3 kB / 3.055 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/5.572, allocations: 345.9 kB / 3.055 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/5.572, allocations: 38.36 kB / 3.055 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/5.572, allocations: 16 kB / 3.055 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00048/5.572, allocations: 249.1 kB / 3.055 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/5.573, allocations: 256.8 kB / 3.056 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/5.573, allocations: 0 / 3.056 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/5.573, allocations: 0 / 3.056 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/5.573, allocations: 8 kB / 3.056 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/5.574, allocations: 1.022 MB / 3.057 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/5.575, allocations: 254.7 kB / 3.057 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/5.575, allocations: 113.2 kB / 3.057 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/5.576, allocations: 0.5052 MB / 3.058 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/5.576, allocations: 34.56 kB / 3.058 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.314e-06/5.576, allocations: 0 / 3.058 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.001208/5.577, allocations: 345.1 kB / 3.058 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/5.577, allocations: 55.41 kB / 3.058 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/5.578, allocations: 176.2 kB / 3.058 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/5.578, allocations: 25.7 kB / 3.058 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/5.578, allocations: 156.2 kB / 3.058 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/5.578, allocations: 78.89 kB / 3.058 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/5.578, allocations: 0 / 3.058 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/5.578, allocations: 334.7 kB / 3.059 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/5.578, allocations: 79.97 kB / 3.059 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/5.578, allocations: 123.6 kB / 3.059 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/5.579, allocations: 168.8 kB / 3.059 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.579, allocations: 4 kB / 3.059 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000853/5.58, allocations: 335.9 kB / 3.059 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/5.58, allocations: 4 kB / 3.059 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/5.58, allocations: 0 / 3.059 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/5.58, allocations: 4 kB / 3.059 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/5.58, allocations: 47.91 kB / 3.059 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/5.58, allocations: 7.938 kB / 3.059 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/5.58, allocations: 23.92 kB / 3.059 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/5.58, allocations: 12 kB / 3.06 GB, free: 16.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.441e-05/5.58, allocations: 108.9 kB / 3.06 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/5.58, allocations: 27.61 kB / 3.06 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/5.581, allocations: 402.1 kB / 3.06 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/5.581, allocations: 4 kB / 3.06 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/5.581, allocations: 0 / 3.06 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/5.581, allocations: 0 / 3.06 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/5.584, allocations: 1.3 MB / 3.061 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/5.584, allocations: 4.062 kB / 3.061 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/5.584, allocations: 51.91 kB / 3.061 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/5.584, allocations: 4 kB / 3.061 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/5.584, allocations: 4 kB / 3.061 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/5.584, allocations: 4 kB / 3.061 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/5.584, allocations: 11.84 kB / 3.061 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009642/5.585, allocations: 0.7088 MB / 3.062 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/5.585, allocations: 108.8 kB / 3.062 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/5.585, allocations: 4 kB / 3.062 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/5.585, allocations: 28.05 kB / 3.062 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/5.586, allocations: 23.88 kB / 3.062 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/5.586, allocations: 12 kB / 3.062 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001065/5.586, allocations: 144.5 kB / 3.062 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009396/5.587, allocations: 211.7 kB / 3.063 GB, free: 12.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (senS_flow.s_out,senS.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.002479/5.589, allocations: 1.427 MB / 3.064 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003765/5.59, allocations: 212 kB / 3.064 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/5.59, allocations: 0 / 3.064 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/5.59, allocations: 136.1 kB / 3.064 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/5.59, allocations: 87.23 kB / 3.064 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/5.591, allocations: 0.5546 MB / 3.065 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/5.592, allocations: 0.829 MB / 3.066 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/5.592, allocations: 0 / 3.066 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of Templates: time 0.343/5.935, allocations: 12.64 MB / 3.078 GB, free: 203.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)