Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow") [: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.5075/0.5075, allocations: 94.74 MB / 102 MB, free: 10.38 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.001545/0.001545, allocations: 176.9 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.428/1.428, allocations: 170.5 MB / 319 MB, free: 9.414 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.001844/0.001844, allocations: 107.1 kB / 381 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.518e-06, allocations: 4 kB / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.438, allocations: 440 MB / 0.9278 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.438, allocations: 79.89 kB / 0.9279 GB, free: 186.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.144/1.582, allocations: 78.1 MB / 1.004 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.993e-05/1.582, allocations: 15.98 kB / 1.004 GB, free: 112.7 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001251/1.584, allocations: 0.6281 MB / 1.005 GB, free: 112 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.584, allocations: 9.031 kB / 1.005 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004963/1.584, allocations: 63.42 kB / 1.005 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.595, allocations: 4.96 MB / 1.01 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/1.595, allocations: 14 kB / 1.01 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/1.595, allocations: 19.94 kB / 1.01 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004269/1.595, allocations: 213.2 kB / 1.01 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/1.596, allocations: 367.4 kB / 1.01 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.596, allocations: 0 / 1.01 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/1.596, allocations: 3.984 kB / 1.01 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.596, allocations: 8 kB / 1.01 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/1.598, allocations: 2.07 MB / 1.012 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/1.598, allocations: 69.7 kB / 1.012 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/1.598, allocations: 49.03 kB / 1.012 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/1.599, allocations: 170.1 kB / 1.013 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.599, allocations: 30.56 kB / 1.013 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/1.599, allocations: 3.938 kB / 1.013 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001378/1.6, allocations: 0.5316 MB / 1.013 GB, free: 103 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.6, allocations: 106.8 kB / 1.013 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/1.6, allocations: 316.8 kB / 1.014 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.6, allocations: 25.7 kB / 1.014 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/1.601, allocations: 238.9 kB / 1.014 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/1.601, allocations: 51.38 kB / 1.014 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.601, allocations: 0 / 1.014 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.601, allocations: 354.7 kB / 1.014 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/1.601, allocations: 58.41 kB / 1.014 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/1.601, allocations: 244.4 kB / 1.014 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/1.601, allocations: 111.9 kB / 1.015 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.601, allocations: 4 kB / 1.015 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005573/1.602, allocations: 304.7 kB / 1.015 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.602, allocations: 7.906 kB / 1.015 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.602, allocations: 12.77 kB / 1.015 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.602, allocations: 8 kB / 1.015 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/1.602, allocations: 83.84 kB / 1.015 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.602, allocations: 11.98 kB / 1.015 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/1.603, allocations: 8 kB / 1.015 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.603, allocations: 22.69 kB / 1.015 GB, free: 101 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001049/1.603, allocations: 119.8 kB / 1.015 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/1.603, allocations: 39.53 kB / 1.015 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/1.603, allocations: 169 kB / 1.015 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.603, allocations: 0 / 1.015 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.603, allocations: 0 / 1.015 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.603, allocations: 3.906 kB / 1.015 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/1.604, allocations: 0.5464 MB / 1.016 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.604, allocations: 0 / 1.016 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/1.604, allocations: 28.02 kB / 1.016 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/1.604, allocations: 4 kB / 1.016 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.604, allocations: 0 / 1.016 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.604, allocations: 0 / 1.016 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.604, allocations: 4 kB / 1.016 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003357/1.604, allocations: 317.5 kB / 1.016 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.605, allocations: 120.7 kB / 1.016 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/1.605, allocations: 0 / 1.016 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.605, allocations: 7.984 kB / 1.016 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/1.605, allocations: 4 kB / 1.016 GB, free: 99.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.605, allocations: 7.984 kB / 1.016 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002092/1.605, allocations: 239.2 kB / 1.017 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000595/1.606, allocations: 127.9 kB / 1.017 GB, free: 99.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0005701/1.606, allocations: 213.2 kB / 1.017 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003608/1.607, allocations: 177.6 kB / 1.017 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.607, allocations: 0 / 1.017 GB, free: 98.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/1.607, allocations: 47.92 kB / 1.017 GB, free: 98.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009495/1.608, allocations: 179.6 kB / 1.017 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.609, allocations: 481.8 kB / 1.018 GB, free: 98.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/1.609, allocations: 0.8757 MB / 1.019 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/1.609, allocations: 0 / 1.019 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.01238/1.622, allocations: 6.235 MB / 1.025 GB, free: 91.04 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMassFlow.pipe 2>&1)