Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [: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.441/1.441, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001233/0.001233, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.476/1.476, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009741/0.0009741, allocations: 91.61 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.685e-06, allocations: 0 / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7083, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.031/5.74, allocations: 2.125 GB / 3.089 GB, free: 346.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/5.74, allocations: 90.62 kB / 3.089 GB, free: 346.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.794/7.534, allocations: 0.6195 GB / 3.708 GB, free: 115.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000106/7.534, allocations: 42.44 kB / 3.708 GB, free: 115.4 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003036/7.537, allocations: 1.571 MB / 3.71 GB, free: 113.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/7.537, allocations: 8.031 kB / 3.71 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/7.539, allocations: 393.7 kB / 3.71 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/7.542, allocations: 1.237 MB / 3.711 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/7.542, allocations: 32 kB / 3.711 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/7.542, allocations: 60 kB / 3.711 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001166/7.543, allocations: 0.703 MB / 3.712 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/7.544, allocations: 0.9457 MB / 3.713 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/7.545, allocations: 0 / 3.713 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/7.545, allocations: 4 kB / 3.713 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/7.545, allocations: 38 kB / 3.713 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/7.55, allocations: 5.041 MB / 3.718 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/7.551, allocations: 0.6403 MB / 3.719 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/7.551, allocations: 323.6 kB / 3.719 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/7.552, allocations: 315.9 kB / 3.719 GB, free: 103.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/7.552, allocations: 39.22 kB / 3.719 GB, free: 103.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/7.552, allocations: 0 / 3.719 GB, free: 103.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001551/7.553, allocations: 0.7569 MB / 3.72 GB, free: 102.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/7.553, allocations: 162.9 kB / 3.72 GB, free: 102.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/7.554, allocations: 0.592 MB / 3.721 GB, free: 102 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/7.554, allocations: 25.7 kB / 3.721 GB, free: 101.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/7.554, allocations: 415.4 kB / 3.721 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/7.554, allocations: 240.4 kB / 3.721 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/7.554, allocations: 0 / 3.721 GB, free: 101.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/7.554, allocations: 334 kB / 3.722 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/7.555, allocations: 233.5 kB / 3.722 GB, free: 100.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/7.555, allocations: 456.5 kB / 3.722 GB, free: 100.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/7.556, allocations: 367.6 kB / 3.723 GB, free: 99.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.556, allocations: 0 / 3.723 GB, free: 99.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001157/7.557, allocations: 0.819 MB / 3.724 GB, free: 98.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000291/7.557, allocations: 1.664 MB / 3.725 GB, free: 97.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/7.557, allocations: 4 kB / 3.725 GB, free: 97.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/7.557, allocations: 8 kB / 3.725 GB, free: 97.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/7.559, allocations: 259.7 kB / 3.725 GB, free: 96.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/7.56, allocations: 1.361 MB / 3.727 GB, free: 95.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009281/7.561, allocations: 99.5 kB / 3.727 GB, free: 95.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/7.561, allocations: 35.94 kB / 3.727 GB, free: 95.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-06/7.561, allocations: 5.719 kB / 3.727 GB, free: 95.31 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/7.562, allocations: 0.6857 MB / 3.728 GB, free: 94.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/7.562, allocations: 4 kB / 3.728 GB, free: 94.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/7.562, allocations: 8 kB / 3.728 GB, free: 94.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/7.563, allocations: 259.8 kB / 3.728 GB, free: 94.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008959/7.564, allocations: 1.353 MB / 3.729 GB, free: 92.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/7.565, allocations: 95.56 kB / 3.729 GB, free: 92.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/7.565, allocations: 31.98 kB / 3.729 GB, free: 92.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/7.566, allocations: 132.6 kB / 3.729 GB, free: 92.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/7.566, allocations: 98.78 kB / 3.73 GB, free: 92.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/7.567, allocations: 0.8111 MB / 3.73 GB, free: 91.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/7.567, allocations: 8 kB / 3.73 GB, free: 91.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/7.567, allocations: 0 / 3.73 GB, free: 91.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/7.569, allocations: 0.7377 MB / 3.731 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/7.572, allocations: 1.874 MB / 3.733 GB, free: 88.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/7.572, allocations: 4 kB / 3.733 GB, free: 88.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/7.572, allocations: 152.1 kB / 3.733 GB, free: 88.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/7.573, allocations: 48.77 kB / 3.733 GB, free: 88.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/7.573, allocations: 11.98 kB / 3.733 GB, free: 88.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/7.574, allocations: 1.32 MB / 3.734 GB, free: 87.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/7.574, allocations: 4 kB / 3.734 GB, free: 87.32 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001835/7.576, allocations: 1.375 MB / 3.736 GB, free: 85.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/7.576, allocations: 255.5 kB / 3.736 GB, free: 85.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/7.576, allocations: 7.984 kB / 3.736 GB, free: 85.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/7.577, allocations: 59.95 kB / 3.736 GB, free: 85.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/7.577, allocations: 40.5 kB / 3.736 GB, free: 85.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/7.577, allocations: 35.86 kB / 3.736 GB, free: 85.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005157/7.578, allocations: 463.9 kB / 3.737 GB, free: 84.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001919/7.58, allocations: 0.6544 MB / 3.737 GB, free: 84.33 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/7.582, allocations: 1.987 MB / 3.739 GB, free: 82.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003107/7.585, allocations: 1.18 MB / 3.74 GB, free: 81.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/7.585, allocations: 4.172 kB / 3.74 GB, free: 81.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006154/7.586, allocations: 430 kB / 3.741 GB, free: 80.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/7.588, allocations: 419.1 kB / 3.741 GB, free: 80.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/7.591, allocations: 1.678 MB / 3.743 GB, free: 78.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/7.592, allocations: 1.246 MB / 3.744 GB, free: 77.24 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/7.592, allocations: 4 kB / 3.744 GB, free: 77.24 MB / 0.948 GB Notification: Performance of Templates: time 0.04244/7.635, allocations: 29.89 MB / 3.773 GB, free: 47.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)