Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [: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.541/1.541, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.00111/0.001111, allocations: 173.3 kB / 366.3 MB, free: 2.031 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.487/1.487, allocations: 205.1 MB / 0.6256 GB, free: 5.938 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.0009449/0.000945, allocations: 83.36 kB / 0.7395 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.476e-06, allocations: 0 / 0.859 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7858, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.779/5.565, allocations: 2.071 GB / 3.044 GB, free: 3.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/5.565, allocations: 85.27 kB / 3.044 GB, free: 3.648 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082/6.647, allocations: 262.7 MB / 3.301 GB, free: 125.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.449e-05/6.647, allocations: 16.12 kB / 3.301 GB, free: 125.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001849/6.649, allocations: 0.9001 MB / 3.302 GB, free: 124.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/6.649, allocations: 11.97 kB / 3.302 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/6.65, allocations: 171 kB / 3.302 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/6.651, allocations: 0.5316 MB / 3.302 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/6.651, allocations: 16 kB / 3.302 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/6.651, allocations: 32 kB / 3.302 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007087/6.652, allocations: 454.4 kB / 3.303 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/6.652, allocations: 0.5448 MB / 3.303 GB, free: 122.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/6.652, allocations: 0 / 3.303 GB, free: 122.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/6.652, allocations: 4 kB / 3.303 GB, free: 122.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/6.653, allocations: 25.28 kB / 3.303 GB, free: 122.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/6.655, allocations: 2.124 MB / 3.305 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/6.656, allocations: 222.8 kB / 3.306 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/6.656, allocations: 117.2 kB / 3.306 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/6.656, allocations: 0 / 3.306 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/6.656, allocations: 42.52 kB / 3.306 GB, free: 120 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/6.656, allocations: 0 / 3.306 GB, free: 120 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0008437/6.657, allocations: 313.5 kB / 3.306 GB, free: 119.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/6.657, allocations: 77.11 kB / 3.306 GB, free: 119.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/6.657, allocations: 369 kB / 3.306 GB, free: 119.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/6.657, allocations: 25.7 kB / 3.306 GB, free: 119.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/6.657, allocations: 286.9 kB / 3.307 GB, free: 118.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/6.657, allocations: 74.95 kB / 3.307 GB, free: 118.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/6.658, allocations: 4 kB / 3.307 GB, free: 118.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/6.658, allocations: 350.7 kB / 3.307 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/6.658, allocations: 112.5 kB / 3.307 GB, free: 118.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/6.658, allocations: 200.1 kB / 3.307 GB, free: 118.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/6.658, allocations: 135.9 kB / 3.308 GB, free: 118 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/6.658, allocations: 0 / 3.308 GB, free: 118 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006609/6.659, allocations: 431.1 kB / 3.308 GB, free: 117.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/6.659, allocations: 8 kB / 3.308 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/6.659, allocations: 4.188 kB / 3.308 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/6.659, allocations: 89.61 kB / 3.308 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/6.66, allocations: 79.89 kB / 3.308 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/6.662, allocations: 2.806 MB / 3.311 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/6.662, allocations: 51.62 kB / 3.311 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/6.662, allocations: 16.06 kB / 3.311 GB, free: 114.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001131/6.662, allocations: 112.9 kB / 3.311 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/6.662, allocations: 47.53 kB / 3.311 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/6.662, allocations: 39.47 kB / 3.311 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/6.662, allocations: 192 / 3.311 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/6.662, allocations: 7.906 kB / 3.311 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005056/6.663, allocations: 499.4 kB / 3.312 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/6.664, allocations: 0.7978 MB / 3.312 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/6.664, allocations: 0 / 3.312 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/6.664, allocations: 47.91 kB / 3.312 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/6.664, allocations: 68.81 kB / 3.313 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/6.664, allocations: 4 kB / 3.313 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/6.666, allocations: 1.526 MB / 3.314 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/6.666, allocations: 0 / 3.314 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000495/6.666, allocations: 427.9 kB / 3.314 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/6.666, allocations: 156.5 kB / 3.315 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/6.666, allocations: 4 kB / 3.315 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/6.667, allocations: 35.88 kB / 3.315 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/6.667, allocations: 7.984 kB / 3.315 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/6.667, allocations: 15.98 kB / 3.315 GB, free: 110.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002998/6.667, allocations: 275.2 kB / 3.315 GB, free: 109.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001055/6.668, allocations: 279.4 kB / 3.315 GB, free: 109.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/6.67, allocations: 1.084 MB / 3.316 GB, free: 108.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006073/6.67, allocations: 459.5 kB / 3.317 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/6.67, allocations: 4 kB / 3.317 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/6.671, allocations: 208.3 kB / 3.317 GB, free: 107.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/6.672, allocations: 245.6 kB / 3.317 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/6.673, allocations: 0.637 MB / 3.318 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/6.673, allocations: 0.9552 MB / 3.319 GB, free: 106 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/6.673, allocations: 0 / 3.319 GB, free: 106 MB / 0.948 GB Notification: Performance of Templates: time 0.02187/6.695, allocations: 14.65 MB / 3.333 GB, free: 91.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)