Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001927/0.001927, allocations: 185.2 kB / 360.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001222, allocations: 82.61 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.398e-06, allocations: 0 / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6479, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.796, allocations: 2.125 GB / 3.088 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/5.797, allocations: 87.12 kB / 3.088 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.14/8.937, allocations: 0.6195 GB / 3.707 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002415/8.938, allocations: 35.91 kB / 3.707 GB, free: 167.4 MB / 0.9323 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.00531/8.943, allocations: 1.575 MB / 3.709 GB, free: 167 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/8.943, allocations: 8.75 kB / 3.709 GB, free: 167 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/8.947, allocations: 393.7 kB / 3.709 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/8.952, allocations: 1.221 MB / 3.71 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/8.952, allocations: 31.81 kB / 3.71 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/8.952, allocations: 69.69 kB / 3.71 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00235/8.955, allocations: 0.7063 MB / 3.711 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/8.957, allocations: 0.9534 MB / 3.712 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/8.957, allocations: 0 / 3.712 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/8.957, allocations: 3.906 kB / 3.712 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/8.957, allocations: 34.03 kB / 3.712 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009792/8.967, allocations: 5.044 MB / 3.717 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/8.969, allocations: 0.6407 MB / 3.718 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/8.97, allocations: 318.8 kB / 3.718 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00083/8.971, allocations: 319.5 kB / 3.718 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/8.971, allocations: 38.56 kB / 3.718 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 3.797e-06/8.971, allocations: 0 / 3.718 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.003001/8.974, allocations: 0.7545 MB / 3.719 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/8.974, allocations: 166.3 kB / 3.719 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/8.975, allocations: 0.5877 MB / 3.72 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/8.975, allocations: 25.7 kB / 3.72 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/8.976, allocations: 413 kB / 3.72 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/8.976, allocations: 239 kB / 3.72 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/8.976, allocations: 2.719 kB / 3.72 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/8.976, allocations: 334.6 kB / 3.721 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/8.977, allocations: 230.9 kB / 3.721 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/8.978, allocations: 460.5 kB / 3.721 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/8.979, allocations: 370.1 kB / 3.722 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/8.979, allocations: 3.281 kB / 3.722 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002777/8.982, allocations: 0.8124 MB / 3.722 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003755/8.982, allocations: 1.659 MB / 3.724 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/8.982, allocations: 5.719 kB / 3.724 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/8.982, allocations: 10.78 kB / 3.724 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/8.985, allocations: 267.5 kB / 3.724 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/8.987, allocations: 1.35 MB / 3.726 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/8.989, allocations: 101.5 kB / 3.726 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/8.989, allocations: 32.47 kB / 3.726 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/8.989, allocations: 4.219 kB / 3.726 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002094/8.991, allocations: 0.6777 MB / 3.726 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.991, allocations: 7.656 kB / 3.727 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/8.991, allocations: 11.31 kB / 3.727 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/8.997, allocations: 263 kB / 3.727 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/9, allocations: 1.361 MB / 3.728 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/9.002, allocations: 95.97 kB / 3.728 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/9.003, allocations: 33.28 kB / 3.728 GB, free: 157.5 MB / 0.9323 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.0004847/9.003, allocations: 122.3 kB / 3.728 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006533/9.004, allocations: 108.4 kB / 3.728 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/9.013, allocations: 0.8033 MB / 3.729 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/9.013, allocations: 11.25 kB / 3.729 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/9.013, allocations: 0 / 3.729 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004839/9.018, allocations: 0.7425 MB / 3.73 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009791/9.028, allocations: 1.876 MB / 3.732 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/9.028, allocations: 3.562 kB / 3.732 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/9.03, allocations: 157.6 kB / 3.732 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007578/9.031, allocations: 47.75 kB / 3.732 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/9.031, allocations: 5.875 kB / 3.732 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/9.033, allocations: 1.327 MB / 3.733 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/9.033, allocations: 3.281 kB / 3.733 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003929/9.037, allocations: 1.37 MB / 3.735 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009676/9.038, allocations: 249 kB / 3.735 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/9.038, allocations: 8.875 kB / 3.735 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/9.04, allocations: 70.36 kB / 3.735 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/9.04, allocations: 35.41 kB / 3.735 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/9.04, allocations: 25.09 kB / 3.735 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009769/9.041, allocations: 463.8 kB / 3.735 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002982/9.044, allocations: 0.6545 MB / 3.736 GB, free: 154.8 MB / 0.9323 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.003464/9.048, allocations: 2.004 MB / 3.738 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006218/9.054, allocations: 1.181 MB / 3.739 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/9.054, allocations: 0 / 3.739 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/9.055, allocations: 431.7 kB / 3.74 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/9.059, allocations: 404.8 kB / 3.74 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/9.065, allocations: 1.689 MB / 3.742 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/9.067, allocations: 1.256 MB / 3.743 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.262e-06/9.067, allocations: 0 / 3.743 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.07715/9.144, allocations: 29.87 MB / 3.772 GB, free: 152.5 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)