Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 289.8 MB / 297.1 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 183.2 kB / 366.3 MB, free: 11.94 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 0.6256 GB, free: 2.055 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009843/0.000984, allocations: 87.86 kB / 0.7395 GB, free: 46.95 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.805e-06, allocations: 0 / 0.859 GB, free: 7.184 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8488, allocations: 116.3 MB / 0.9725 GB, free: 81.48 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.704/5.553, allocations: 2.134 GB / 3.106 GB, free: 23.44 MB / 0.9559 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/5.554, allocations: 99.94 kB / 3.106 GB, free: 23.34 MB / 0.9559 GB Notification: Performance of FrontEnd: time 2.25/7.803, allocations: 0.6283 GB / 3.735 GB, free: 139.5 MB / 0.9559 GB Notification: Performance of Transformations before backend: time 9.623e-05/7.803, allocations: 35.59 kB / 3.735 GB, free: 139.5 MB / 0.9559 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.003065/7.806, allocations: 1.473 MB / 3.736 GB, free: 138 MB / 0.9559 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/7.807, allocations: 8.031 kB / 3.736 GB, free: 138 MB / 0.9559 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/7.808, allocations: 345.8 kB / 3.736 GB, free: 137.6 MB / 0.9559 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/7.811, allocations: 1.194 MB / 3.738 GB, free: 136.4 MB / 0.9559 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/7.811, allocations: 35.91 kB / 3.738 GB, free: 136.4 MB / 0.9559 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/7.811, allocations: 68 kB / 3.738 GB, free: 136.3 MB / 0.9559 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001326/7.813, allocations: 0.8668 MB / 3.738 GB, free: 135.5 MB / 0.9559 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/7.814, allocations: 1.02 MB / 3.739 GB, free: 134.4 MB / 0.9559 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/7.814, allocations: 0 / 3.739 GB, free: 134.4 MB / 0.9559 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/7.814, allocations: 0 / 3.739 GB, free: 134.4 MB / 0.9559 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/7.814, allocations: 38 kB / 3.739 GB, free: 134.4 MB / 0.9559 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004566/7.819, allocations: 4.717 MB / 3.744 GB, free: 129.3 MB / 0.9559 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/7.82, allocations: 0.6544 MB / 3.745 GB, free: 128.7 MB / 0.9559 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/7.82, allocations: 355.3 kB / 3.745 GB, free: 128.3 MB / 0.9559 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/7.821, allocations: 400.8 kB / 3.745 GB, free: 127.9 MB / 0.9559 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/7.821, allocations: 43.2 kB / 3.745 GB, free: 127.8 MB / 0.9559 GB Notification: Performance of pre-optimization done (n=68): time 2.806e-06/7.821, allocations: 4 kB / 3.745 GB, free: 127.8 MB / 0.9559 GB Notification: Performance of matching and sorting (n=68): time 0.001787/7.822, allocations: 0.7838 MB / 3.746 GB, free: 127 MB / 0.9559 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/7.822, allocations: 111.5 kB / 3.746 GB, free: 126.9 MB / 0.9559 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/7.823, allocations: 0.5629 MB / 3.747 GB, free: 126.3 MB / 0.9559 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/7.823, allocations: 33.7 kB / 3.747 GB, free: 126.3 MB / 0.9559 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/7.823, allocations: 423 kB / 3.747 GB, free: 125.8 MB / 0.9559 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/7.823, allocations: 228.5 kB / 3.748 GB, free: 125.6 MB / 0.9559 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/7.823, allocations: 0 / 3.748 GB, free: 125.6 MB / 0.9559 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/7.824, allocations: 342.3 kB / 3.748 GB, free: 125.3 MB / 0.9559 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/7.824, allocations: 249.5 kB / 3.748 GB, free: 125 MB / 0.9559 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/7.824, allocations: 0.4943 MB / 3.749 GB, free: 124.4 MB / 0.9559 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/7.825, allocations: 437.5 kB / 3.749 GB, free: 124 MB / 0.9559 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/7.825, allocations: 0 / 3.749 GB, free: 124 MB / 0.9559 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001321/7.826, allocations: 0.8891 MB / 3.75 GB, free: 123.1 MB / 0.9559 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/7.827, allocations: 1.749 MB / 3.752 GB, free: 121.2 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/7.827, allocations: 4 kB / 3.752 GB, free: 121.2 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/7.827, allocations: 8 kB / 3.752 GB, free: 121.2 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/7.828, allocations: 187.6 kB / 3.752 GB, free: 121 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003417/7.828, allocations: 0.6094 MB / 3.752 GB, free: 120.4 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/7.829, allocations: 115.3 kB / 3.753 GB, free: 120.3 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/7.829, allocations: 35.94 kB / 3.753 GB, free: 120.3 MB / 0.9559 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/7.829, allocations: 4 kB / 3.753 GB, free: 120.3 MB / 0.9559 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/7.831, allocations: 0.7634 MB / 3.753 GB, free: 119.5 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/7.831, allocations: 4 kB / 3.753 GB, free: 119.5 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/7.831, allocations: 8 kB / 3.753 GB, free: 119.5 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/7.831, allocations: 172.3 kB / 3.753 GB, free: 119.3 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/7.831, allocations: 15.94 kB / 3.753 GB, free: 119.3 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008938/7.832, allocations: 103.4 kB / 3.754 GB, free: 119.2 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/7.832, allocations: 28 kB / 3.754 GB, free: 119.2 MB / 0.9559 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.0002372/7.832, allocations: 131.9 kB / 3.754 GB, free: 119 MB / 0.9559 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/7.833, allocations: 90.88 kB / 3.754 GB, free: 118.9 MB / 0.9559 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/7.834, allocations: 0.8015 MB / 3.755 GB, free: 118.1 MB / 0.9559 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/7.834, allocations: 8 kB / 3.755 GB, free: 118.1 MB / 0.9559 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/7.834, allocations: 4 kB / 3.755 GB, free: 118.1 MB / 0.9559 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001148/7.835, allocations: 0.8992 MB / 3.755 GB, free: 117.2 MB / 0.9559 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/7.839, allocations: 1.997 MB / 3.757 GB, free: 115.1 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/7.839, allocations: 4 kB / 3.757 GB, free: 115.1 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/7.84, allocations: 152.4 kB / 3.758 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/7.84, allocations: 12.22 kB / 3.758 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/7.84, allocations: 19.98 kB / 3.758 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00028/7.84, allocations: 0.5977 MB / 3.758 GB, free: 114.3 MB / 0.9559 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/7.841, allocations: 0 / 3.758 GB, free: 114.3 MB / 0.9559 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001734/7.842, allocations: 1.402 MB / 3.76 GB, free: 112.8 MB / 0.9559 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/7.843, allocations: 251.8 kB / 3.76 GB, free: 112.5 MB / 0.9559 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/7.843, allocations: 8 kB / 3.76 GB, free: 112.5 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/7.844, allocations: 63.84 kB / 3.76 GB, free: 112.4 MB / 0.9559 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/7.844, allocations: 48.28 kB / 3.76 GB, free: 112.4 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/7.844, allocations: 23.98 kB / 3.76 GB, free: 112.4 MB / 0.9559 GB Notification: Performance of sort global known variables: time 0.000562/7.844, allocations: 435.1 kB / 3.76 GB, free: 112 MB / 0.9559 GB Notification: Performance of remove unused functions: time 0.002162/7.847, allocations: 0.682 MB / 3.761 GB, free: 111.3 MB / 0.9559 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.003202/7.85, allocations: 2.086 MB / 3.763 GB, free: 109.2 MB / 0.9559 GB Notification: Performance of simCode: created initialization part: time 0.001936/7.852, allocations: 1.071 MB / 3.764 GB, free: 108.1 MB / 0.9559 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/7.852, allocations: 6.188 kB / 3.764 GB, free: 108.1 MB / 0.9559 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/7.852, allocations: 333.7 kB / 3.764 GB, free: 107.8 MB / 0.9559 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/7.854, allocations: 400.4 kB / 3.765 GB, free: 107.4 MB / 0.9559 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/7.858, allocations: 1.76 MB / 3.767 GB, free: 105.6 MB / 0.9559 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/7.858, allocations: 1.284 MB / 3.768 GB, free: 104.3 MB / 0.9559 GB Notification: Performance of SimCode: time 9.22e-07/7.858, allocations: 0 / 3.768 GB, free: 104.3 MB / 0.9559 GB Notification: Performance of Templates: time 0.04453/7.903, allocations: 29.75 MB / 3.797 GB, free: 74.67 MB / 0.9559 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)