Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") [: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.0.1-maint.8.0.x/package.mo): time 1.448/1.448, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001334/0.001334, allocations: 173.3 kB / 361.1 MB, free: 7.145 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.285/1.285, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.00086/0.00086, allocations: 92.05 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 0 / 0.8511 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/0.5872, allocations: 115.3 MB / 0.9637 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.354/4.942, allocations: 2.127 GB / 3.091 GB, free: 326.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/4.942, allocations: 88.47 kB / 3.091 GB, free: 326.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.863/6.805, allocations: 0.6558 GB / 3.747 GB, free: 54.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001163/6.805, allocations: 28 kB / 3.747 GB, free: 54.15 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003603/6.809, allocations: 1.313 MB / 3.748 GB, free: 52.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/6.809, allocations: 15.97 kB / 3.748 GB, free: 52.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/6.811, allocations: 262.3 kB / 3.748 GB, free: 52.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/6.814, allocations: 1.103 MB / 3.749 GB, free: 51.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/6.814, allocations: 31.91 kB / 3.749 GB, free: 51.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/6.814, allocations: 56 kB / 3.749 GB, free: 51.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/6.815, allocations: 0.7771 MB / 3.75 GB, free: 50.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/6.817, allocations: 0.994 MB / 3.751 GB, free: 49.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/6.817, allocations: 7.938 kB / 3.751 GB, free: 49.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/6.817, allocations: 0 / 3.751 GB, free: 49.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/6.817, allocations: 37.98 kB / 3.751 GB, free: 49.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005137/6.822, allocations: 5.684 MB / 3.757 GB, free: 43.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/6.823, allocations: 0.5085 MB / 3.757 GB, free: 42.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/6.823, allocations: 302.6 kB / 3.758 GB, free: 42.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005312/6.824, allocations: 311.7 kB / 3.758 GB, free: 42.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/6.824, allocations: 42.94 kB / 3.758 GB, free: 42.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 4.167e-06/6.824, allocations: 0 / 3.758 GB, free: 42.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001455/6.825, allocations: 0.6036 MB / 3.758 GB, free: 41.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/6.825, allocations: 63.84 kB / 3.758 GB, free: 41.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/6.826, allocations: 0.5153 MB / 3.759 GB, free: 40.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/6.826, allocations: 29.7 kB / 3.759 GB, free: 40.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/6.826, allocations: 422.5 kB / 3.759 GB, free: 40.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/6.827, allocations: 169.5 kB / 3.76 GB, free: 40.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/6.827, allocations: 0 / 3.76 GB, free: 40.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/6.827, allocations: 382.8 kB / 3.76 GB, free: 39.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/6.827, allocations: 229.5 kB / 3.76 GB, free: 39.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/6.827, allocations: 0.5657 MB / 3.761 GB, free: 38.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/6.828, allocations: 374.7 kB / 3.761 GB, free: 38.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/6.828, allocations: 0 / 3.761 GB, free: 38.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001189/6.829, allocations: 0.7874 MB / 3.762 GB, free: 37.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/6.829, allocations: 8.188 kB / 3.762 GB, free: 37.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/6.829, allocations: 11.94 kB / 3.762 GB, free: 37.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/6.829, allocations: 16 kB / 3.762 GB, free: 37.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/6.83, allocations: 151.8 kB / 3.762 GB, free: 37.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/6.83, allocations: 15.94 kB / 3.762 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/6.831, allocations: 115.1 kB / 3.762 GB, free: 37.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.18e-05/6.831, allocations: 36 kB / 3.762 GB, free: 37.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 0.0001246/6.831, allocations: 132.7 kB / 3.762 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/6.831, allocations: 75.06 kB / 3.762 GB, free: 37.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/6.832, allocations: 0.6042 MB / 3.763 GB, free: 36.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/6.832, allocations: 8 kB / 3.763 GB, free: 36.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/6.832, allocations: 3.906 kB / 3.763 GB, free: 36.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006559/6.833, allocations: 0.5164 MB / 3.763 GB, free: 36.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/6.835, allocations: 1.551 MB / 3.765 GB, free: 34.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/6.835, allocations: 0 / 3.765 GB, free: 34.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/6.836, allocations: 111.9 kB / 3.765 GB, free: 34.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/6.836, allocations: 4 kB / 3.765 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/6.836, allocations: 15.92 kB / 3.765 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/6.836, allocations: 8.125 kB / 3.765 GB, free: 34.28 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/6.836, allocations: 4 kB / 3.765 GB, free: 34.28 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001252/6.837, allocations: 1.12 MB / 3.766 GB, free: 33.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/6.838, allocations: 220 kB / 3.766 GB, free: 32.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/6.838, allocations: 7.984 kB / 3.766 GB, free: 32.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/6.838, allocations: 51.8 kB / 3.767 GB, free: 32.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/6.838, allocations: 31.95 kB / 3.767 GB, free: 32.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/6.838, allocations: 19.91 kB / 3.767 GB, free: 32.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003903/6.839, allocations: 403.1 kB / 3.767 GB, free: 32.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001351/6.84, allocations: 427.2 kB / 3.767 GB, free: 31.92 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.002856/6.843, allocations: 2.144 MB / 3.769 GB, free: 29.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008384/6.844, allocations: 0.5665 MB / 3.77 GB, free: 29.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/6.844, allocations: 2.125 kB / 3.77 GB, free: 29.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/6.844, allocations: 267.7 kB / 3.77 GB, free: 28.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/6.846, allocations: 340.8 kB / 3.771 GB, free: 28.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/6.849, allocations: 1.504 MB / 3.772 GB, free: 26.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/6.85, allocations: 1.218 MB / 3.773 GB, free: 25.74 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/6.85, allocations: 0 / 3.773 GB, free: 25.74 MB / 0.948 GB Notification: Performance of Templates: time 0.03595/6.886, allocations: 23.95 MB / 3.797 GB, free: 1.945 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)