Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001122/0.001122, allocations: 177.2 kB / 366.3 MB, free: 1.941 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.453/1.453, allocations: 205.1 MB / 0.6256 GB, free: 7.422 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.0008691/0.000869, allocations: 82.77 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.042e-05, allocations: 0 / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.81, allocations: 116.3 MB / 0.9725 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/6.24, allocations: 2.126 GB / 3.098 GB, free: 346.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/6.241, allocations: 87.88 kB / 3.099 GB, free: 346.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.852/8.093, allocations: 0.6195 GB / 3.718 GB, free: 97 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001223/8.093, allocations: 34.83 kB / 3.718 GB, free: 96.96 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.003571/8.097, allocations: 1.579 MB / 3.72 GB, free: 95.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/8.097, allocations: 8.031 kB / 3.72 GB, free: 95.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/8.099, allocations: 397.7 kB / 3.72 GB, free: 94.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/8.102, allocations: 1.222 MB / 3.721 GB, free: 93.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/8.102, allocations: 32 kB / 3.721 GB, free: 93.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/8.102, allocations: 67.98 kB / 3.721 GB, free: 93.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001267/8.103, allocations: 0.6991 MB / 3.722 GB, free: 92.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/8.105, allocations: 0.9525 MB / 3.723 GB, free: 91.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/8.105, allocations: 7.938 kB / 3.723 GB, free: 91.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/8.105, allocations: 0 / 3.723 GB, free: 91.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/8.105, allocations: 34 kB / 3.723 GB, free: 91.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/8.11, allocations: 5.046 MB / 3.728 GB, free: 86.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/8.111, allocations: 0.6414 MB / 3.729 GB, free: 85.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/8.112, allocations: 318.7 kB / 3.729 GB, free: 85.58 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005384/8.112, allocations: 313.9 kB / 3.729 GB, free: 85.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/8.112, allocations: 39.22 kB / 3.729 GB, free: 85.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.995e-06/8.112, allocations: 3.938 kB / 3.729 GB, free: 85.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001626/8.114, allocations: 0.7524 MB / 3.73 GB, free: 84.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/8.114, allocations: 162.9 kB / 3.73 GB, free: 84.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/8.115, allocations: 0.592 MB / 3.731 GB, free: 83.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/8.115, allocations: 29.7 kB / 3.731 GB, free: 83.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/8.115, allocations: 411.2 kB / 3.731 GB, free: 83.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/8.115, allocations: 240.4 kB / 3.731 GB, free: 82.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/8.115, allocations: 4 kB / 3.731 GB, free: 82.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/8.115, allocations: 334 kB / 3.732 GB, free: 82.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/8.116, allocations: 233.5 kB / 3.732 GB, free: 82.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/8.116, allocations: 452.6 kB / 3.732 GB, free: 81.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/8.117, allocations: 374.8 kB / 3.733 GB, free: 81.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.117, allocations: 4 kB / 3.733 GB, free: 81.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001178/8.118, allocations: 0.8109 MB / 3.733 GB, free: 80.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003382/8.118, allocations: 1.66 MB / 3.735 GB, free: 78.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/8.118, allocations: 4 kB / 3.735 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/8.118, allocations: 8 kB / 3.735 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/8.12, allocations: 263.7 kB / 3.735 GB, free: 78.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/8.121, allocations: 1.357 MB / 3.737 GB, free: 77.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/8.122, allocations: 99.5 kB / 3.737 GB, free: 77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/8.122, allocations: 35.98 kB / 3.737 GB, free: 76.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/8.122, allocations: 4.781 kB / 3.737 GB, free: 76.96 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/8.123, allocations: 0.6853 MB / 3.737 GB, free: 76.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/8.123, allocations: 4 kB / 3.737 GB, free: 76.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/8.123, allocations: 12 kB / 3.737 GB, free: 76.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/8.124, allocations: 264.1 kB / 3.738 GB, free: 76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009155/8.125, allocations: 1.349 MB / 3.739 GB, free: 74.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/8.126, allocations: 95.56 kB / 3.739 GB, free: 74.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/8.126, allocations: 32 kB / 3.739 GB, free: 74.41 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.000197/8.127, allocations: 128.7 kB / 3.739 GB, free: 74.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/8.127, allocations: 106.8 kB / 3.739 GB, free: 74.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/8.128, allocations: 0.8111 MB / 3.74 GB, free: 73.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/8.128, allocations: 11.98 kB / 3.74 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/8.129, allocations: 0 / 3.74 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001226/8.13, allocations: 0.7416 MB / 3.741 GB, free: 72.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/8.133, allocations: 1.871 MB / 3.743 GB, free: 70.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/8.133, allocations: 224 / 3.743 GB, free: 70.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/8.134, allocations: 159.8 kB / 3.743 GB, free: 70.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/8.134, allocations: 48.81 kB / 3.743 GB, free: 70.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/8.134, allocations: 8 kB / 3.743 GB, free: 70.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/8.136, allocations: 1.318 MB / 3.744 GB, free: 68.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/8.136, allocations: 4.125 kB / 3.744 GB, free: 68.98 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002004/8.138, allocations: 1.371 MB / 3.746 GB, free: 67.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/8.138, allocations: 263.5 kB / 3.746 GB, free: 67.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/8.138, allocations: 0 / 3.746 GB, free: 67.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/8.139, allocations: 59.94 kB / 3.746 GB, free: 67.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/8.139, allocations: 52.5 kB / 3.746 GB, free: 67.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/8.139, allocations: 20 kB / 3.746 GB, free: 67.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006041/8.14, allocations: 459.9 kB / 3.746 GB, free: 66.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002078/8.142, allocations: 0.6505 MB / 3.747 GB, free: 66.01 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.002587/8.144, allocations: 2.006 MB / 3.749 GB, free: 64.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00322/8.148, allocations: 1.18 MB / 3.75 GB, free: 62.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/8.148, allocations: 0 / 3.75 GB, free: 62.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006493/8.148, allocations: 429.2 kB / 3.751 GB, free: 62.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/8.151, allocations: 422.6 kB / 3.751 GB, free: 62.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/8.154, allocations: 1.684 MB / 3.753 GB, free: 60.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/8.155, allocations: 1.258 MB / 3.754 GB, free: 59.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/8.155, allocations: 0 / 3.754 GB, free: 59.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04677/8.202, allocations: 29.87 MB / 3.783 GB, free: 29.48 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)