Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [: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 1.6.0+build.1/package.mo): time 0.5383/0.5383, allocations: 94.73 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001203/0.001203, allocations: 180.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.438/1.438, allocations: 170.5 MB / 319 MB, free: 9.434 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00184/0.00184, allocations: 115.3 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.999e-06, allocations: 224 / 448.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1713, allocations: 61.52 MB / 0.4981 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.47, allocations: 410.2 MB / 0.8987 GB, free: 191.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.47, allocations: 79.52 kB / 0.8987 GB, free: 191.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.2505/1.721, allocations: 115.1 MB / 1.011 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.45e-05/1.721, allocations: 12 kB / 1.011 GB, free: 106.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001738/1.723, allocations: 0.6979 MB / 1.012 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.723, allocations: 12.03 kB / 1.012 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/1.723, allocations: 55.42 kB / 1.012 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/1.737, allocations: 5.921 MB / 1.018 GB, free: 99.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/1.738, allocations: 8 kB / 1.018 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/1.738, allocations: 16 kB / 1.018 GB, free: 99.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000482/1.738, allocations: 209.2 kB / 1.018 GB, free: 99.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/1.739, allocations: 303.2 kB / 1.018 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.739, allocations: 0 / 1.018 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/1.739, allocations: 4 kB / 1.018 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.739, allocations: 4 kB / 1.018 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/1.741, allocations: 1.598 MB / 1.02 GB, free: 97.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/1.741, allocations: 98.81 kB / 1.02 GB, free: 97.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.431e-05/1.742, allocations: 56.84 kB / 1.02 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/1.743, allocations: 1.702 MB / 1.022 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.743, allocations: 43.86 kB / 1.022 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/1.743, allocations: 0 / 1.022 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005713/1.744, allocations: 101.3 kB / 1.022 GB, free: 94.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.744, allocations: 110.8 kB / 1.022 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/1.744, allocations: 298.1 kB / 1.022 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.745, allocations: 29.64 kB / 1.022 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.745, allocations: 223 kB / 1.022 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/1.745, allocations: 27.66 kB / 1.022 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/1.745, allocations: 0 / 1.022 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.745, allocations: 346.7 kB / 1.023 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/1.745, allocations: 44.47 kB / 1.023 GB, free: 93.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.745, allocations: 149.5 kB / 1.023 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/1.745, allocations: 91.09 kB / 1.023 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.745, allocations: 0 / 1.023 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005352/1.746, allocations: 229 kB / 1.023 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.746, allocations: 8 kB / 1.023 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.746, allocations: 0 / 1.023 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.746, allocations: 8 kB / 1.023 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/1.746, allocations: 56.28 kB / 1.023 GB, free: 93.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.746, allocations: 8 kB / 1.023 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/1.747, allocations: 43.72 kB / 1.023 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/1.747, allocations: 16 kB / 1.023 GB, free: 93.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001261/1.747, allocations: 120.8 kB / 1.023 GB, free: 93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.747, allocations: 31.62 kB / 1.023 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/1.747, allocations: 120.7 kB / 1.024 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.747, allocations: 0 / 1.024 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.747, allocations: 0 / 1.024 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.747, allocations: 0 / 1.024 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/1.748, allocations: 286 kB / 1.024 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.748, allocations: 4 kB / 1.024 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.748, allocations: 19.98 kB / 1.024 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.748, allocations: 0 / 1.024 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.748, allocations: 0 / 1.024 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.748, allocations: 4.078 kB / 1.024 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.748, allocations: 3.984 kB / 1.024 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000305/1.748, allocations: 219 kB / 1.024 GB, free: 92.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.749, allocations: 124.7 kB / 1.024 GB, free: 92.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/1.749, allocations: 0 / 1.024 GB, free: 92.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/1.749, allocations: 15.98 kB / 1.024 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/1.749, allocations: 7.891 kB / 1.024 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.749, allocations: 8 kB / 1.024 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002282/1.749, allocations: 228.5 kB / 1.024 GB, free: 91.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007319/1.75, allocations: 143.7 kB / 1.025 GB, free: 91.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008804/1.751, allocations: 286.6 kB / 1.025 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003117/1.751, allocations: 115.1 kB / 1.025 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.751, allocations: 0 / 1.025 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/1.751, allocations: 35.92 kB / 1.025 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/1.752, allocations: 148.1 kB / 1.025 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.753, allocations: 353.8 kB / 1.025 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/1.754, allocations: 0.8414 MB / 1.026 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.754, allocations: 0 / 1.026 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.01228/1.766, allocations: 6.055 MB / 1.032 GB, free: 83.94 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)