Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [: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.578/2.578, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001631/0.00163, allocations: 176 kB / 360.4 MB, free: 7.48 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.866/1.866, allocations: 205.2 MB / 0.6188 GB, free: 12.38 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.001302/0.001301, allocations: 82.84 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.357e-06/9.448e-06, allocations: 0 / 0.8502 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6633, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.281/5.944, allocations: 2.133 GB / 3.095 GB, free: 289.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005021/5.945, allocations: 96.14 kB / 3.095 GB, free: 289.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.561/8.506, allocations: 0.6282 GB / 3.724 GB, free: 86.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001279/8.506, allocations: 47.92 kB / 3.724 GB, free: 86.22 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.003913/8.51, allocations: 1.47 MB / 3.725 GB, free: 84.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/8.51, allocations: 8.031 kB / 3.725 GB, free: 84.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/8.513, allocations: 341.9 kB / 3.725 GB, free: 84.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00477/8.518, allocations: 1.203 MB / 3.727 GB, free: 83.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/8.518, allocations: 35.94 kB / 3.727 GB, free: 83.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/8.518, allocations: 64 kB / 3.727 GB, free: 83.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002602/8.521, allocations: 0.863 MB / 3.728 GB, free: 82.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/8.524, allocations: 1.024 MB / 3.729 GB, free: 81.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/8.524, allocations: 0 / 3.729 GB, free: 81.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/8.524, allocations: 4 kB / 3.729 GB, free: 81.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/8.524, allocations: 34 kB / 3.729 GB, free: 81.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008446/8.533, allocations: 4.701 MB / 3.733 GB, free: 75.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/8.534, allocations: 0.6563 MB / 3.734 GB, free: 75.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/8.535, allocations: 358.4 kB / 3.734 GB, free: 74.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/8.536, allocations: 405 kB / 3.735 GB, free: 74.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/8.536, allocations: 47.14 kB / 3.735 GB, free: 74.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.196e-06/8.536, allocations: 0 / 3.735 GB, free: 74.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.003086/8.539, allocations: 0.7916 MB / 3.735 GB, free: 73.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/8.539, allocations: 111.5 kB / 3.735 GB, free: 73.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/8.54, allocations: 0.559 MB / 3.736 GB, free: 72.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/8.54, allocations: 25.7 kB / 3.736 GB, free: 72.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/8.541, allocations: 415.2 kB / 3.736 GB, free: 72.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/8.541, allocations: 236.5 kB / 3.737 GB, free: 72.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/8.541, allocations: 0 / 3.737 GB, free: 72.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/8.541, allocations: 341.9 kB / 3.737 GB, free: 71.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/8.542, allocations: 253.5 kB / 3.737 GB, free: 71.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/8.543, allocations: 495.5 kB / 3.738 GB, free: 71.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/8.544, allocations: 442.8 kB / 3.738 GB, free: 70.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/8.544, allocations: 3.906 kB / 3.738 GB, free: 70.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002526/8.546, allocations: 0.8773 MB / 3.739 GB, free: 69.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000386/8.547, allocations: 1.747 MB / 3.741 GB, free: 67.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/8.547, allocations: 11.98 kB / 3.741 GB, free: 67.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/8.547, allocations: 11.94 kB / 3.741 GB, free: 67.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/8.549, allocations: 187.7 kB / 3.741 GB, free: 67.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000483/8.549, allocations: 0.6093 MB / 3.742 GB, free: 67.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/8.551, allocations: 111.4 kB / 3.742 GB, free: 66.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/8.551, allocations: 32 kB / 3.742 GB, free: 66.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/8.551, allocations: 5.25 kB / 3.742 GB, free: 66.92 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002424/8.554, allocations: 0.7715 MB / 3.742 GB, free: 66.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/8.554, allocations: 8.125 kB / 3.742 GB, free: 66.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/8.554, allocations: 12 kB / 3.742 GB, free: 66.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/8.555, allocations: 167.7 kB / 3.743 GB, free: 65.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/8.555, allocations: 11.91 kB / 3.743 GB, free: 65.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/8.557, allocations: 99.45 kB / 3.743 GB, free: 65.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/8.557, allocations: 36 kB / 3.743 GB, free: 65.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0002954/8.558, allocations: 124.6 kB / 3.743 GB, free: 65.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/8.558, allocations: 94.88 kB / 3.743 GB, free: 65.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/8.561, allocations: 0.7977 MB / 3.744 GB, free: 64.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/8.561, allocations: 11.94 kB / 3.744 GB, free: 64.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/8.561, allocations: 0 / 3.744 GB, free: 64.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001858/8.563, allocations: 0.8991 MB / 3.745 GB, free: 63.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/8.568, allocations: 1.99 MB / 3.747 GB, free: 61.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/8.568, allocations: 288 / 3.747 GB, free: 61.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/8.57, allocations: 163.7 kB / 3.747 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/8.57, allocations: 4 kB / 3.747 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/8.57, allocations: 11.98 kB / 3.747 GB, free: 61.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003205/8.57, allocations: 0.6015 MB / 3.747 GB, free: 60.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/8.571, allocations: 4.031 kB / 3.747 GB, free: 60.92 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003068/8.574, allocations: 1.41 MB / 3.749 GB, free: 59.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/8.574, allocations: 247.7 kB / 3.749 GB, free: 59.15 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/8.575, allocations: 8 kB / 3.749 GB, free: 59.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/8.576, allocations: 63.84 kB / 3.749 GB, free: 59.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/8.576, allocations: 40.44 kB / 3.749 GB, free: 59.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/8.576, allocations: 27.98 kB / 3.749 GB, free: 59.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007974/8.577, allocations: 431.1 kB / 3.749 GB, free: 58.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002501/8.579, allocations: 0.6855 MB / 3.75 GB, free: 57.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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 Backend phase and start with SimCode phase: time 0.003277/8.583, allocations: 2.088 MB / 3.752 GB, free: 55.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003452/8.586, allocations: 1.073 MB / 3.753 GB, free: 54.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/8.586, allocations: 4.375 kB / 3.753 GB, free: 54.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/8.588, allocations: 333.7 kB / 3.754 GB, free: 54.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/8.592, allocations: 414 kB / 3.754 GB, free: 53.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006704/8.599, allocations: 1.743 MB / 3.756 GB, free: 52.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/8.601, allocations: 1.285 MB / 3.757 GB, free: 50.82 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/8.601, allocations: 0 / 3.757 GB, free: 50.82 MB / 0.948 GB Notification: Performance of Templates: time 0.09113/8.692, allocations: 29.76 MB / 3.786 GB, free: 21.25 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)