Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.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.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") [: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.603/1.603, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001164/0.001164, allocations: 177.3 kB / 366.3 MB, free: 1.938 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.537/1.537, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.001055/0.001055, allocations: 84.83 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.205e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7815, allocations: 116.3 MB / 0.9726 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.3/6.082, allocations: 2.08 GB / 3.053 GB, free: 351.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/6.082, allocations: 96.08 kB / 3.053 GB, free: 351.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.411/7.493, allocations: 483 MB / 3.525 GB, free: 224.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.523e-05/7.494, allocations: 19.97 kB / 3.525 GB, free: 224.8 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002138/7.496, allocations: 1.025 MB / 3.526 GB, free: 224.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/7.496, allocations: 14.12 kB / 3.526 GB, free: 224.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/7.498, allocations: 296 kB / 3.526 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/7.499, allocations: 0.6406 MB / 3.526 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/7.499, allocations: 14.66 kB / 3.526 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/7.499, allocations: 35.09 kB / 3.527 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000808/7.5, allocations: 492.5 kB / 3.527 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/7.501, allocations: 0.5623 MB / 3.528 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/7.501, allocations: 4 kB / 3.528 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/7.501, allocations: 2.906 kB / 3.528 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/7.501, allocations: 19.41 kB / 3.528 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/7.504, allocations: 2.452 MB / 3.53 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/7.505, allocations: 390 kB / 3.53 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/7.505, allocations: 235.9 kB / 3.531 GB, free: 220.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/7.506, allocations: 478.5 kB / 3.531 GB, free: 220.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/7.506, allocations: 39.86 kB / 3.531 GB, free: 220 MB / 0.948 GB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/7.506, allocations: 0 / 3.531 GB, free: 220 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.001377/7.507, allocations: 480.6 kB / 3.532 GB, free: 219.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/7.507, allocations: 54.06 kB / 3.532 GB, free: 219.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/7.507, allocations: 356.9 kB / 3.532 GB, free: 219.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/7.508, allocations: 27.11 kB / 3.532 GB, free: 219.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/7.508, allocations: 258 kB / 3.532 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/7.508, allocations: 141.2 kB / 3.532 GB, free: 219.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/7.508, allocations: 0 / 3.532 GB, free: 219.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/7.508, allocations: 367.2 kB / 3.533 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/7.508, allocations: 138.4 kB / 3.533 GB, free: 218.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/7.508, allocations: 266.6 kB / 3.533 GB, free: 218.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/7.509, allocations: 206.9 kB / 3.533 GB, free: 218.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/7.509, allocations: 2.406 kB / 3.533 GB, free: 218.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007876/7.51, allocations: 491.1 kB / 3.534 GB, free: 218.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/7.51, allocations: 0.875 MB / 3.535 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/7.51, allocations: 2.781 kB / 3.535 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/7.51, allocations: 6.875 kB / 3.535 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/7.511, allocations: 114.2 kB / 3.535 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003161/7.511, allocations: 0.6034 MB / 3.535 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/7.512, allocations: 68.42 kB / 3.535 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/7.512, allocations: 20.81 kB / 3.535 GB, free: 216.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/7.512, allocations: 4.281 kB / 3.535 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006642/7.512, allocations: 396.1 kB / 3.536 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/7.512, allocations: 3.062 kB / 3.536 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/7.512, allocations: 3.656 kB / 3.536 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/7.513, allocations: 105 kB / 3.536 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/7.513, allocations: 19.81 kB / 3.536 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/7.513, allocations: 64.67 kB / 3.536 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/7.513, allocations: 21.69 kB / 3.536 GB, free: 216.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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.0001375/7.514, allocations: 120.6 kB / 3.536 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/7.514, allocations: 54.72 kB / 3.536 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008067/7.514, allocations: 459.5 kB / 3.537 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/7.514, allocations: 3.188 kB / 3.537 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/7.515, allocations: 2.156 kB / 3.537 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000643/7.515, allocations: 0.6826 MB / 3.537 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/7.517, allocations: 1.209 MB / 3.538 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.517, allocations: 1.906 kB / 3.538 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/7.518, allocations: 111.9 kB / 3.539 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/7.518, allocations: 2.344 kB / 3.539 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/7.518, allocations: 8.969 kB / 3.539 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002194/7.518, allocations: 0.5979 MB / 3.539 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/7.518, allocations: 6.094 kB / 3.539 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00103/7.519, allocations: 0.9196 MB / 3.54 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/7.519, allocations: 173 kB / 3.54 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/7.519, allocations: 3.469 kB / 3.54 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/7.52, allocations: 53.67 kB / 3.54 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/7.52, allocations: 27.17 kB / 3.54 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/7.52, allocations: 16.25 kB / 3.54 GB, free: 213 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003373/7.52, allocations: 283.7 kB / 3.541 GB, free: 212.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001346/7.522, allocations: 446.4 kB / 3.541 GB, free: 212.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.001896/7.524, allocations: 1.555 MB / 3.542 GB, free: 211.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001209/7.525, allocations: 0.6115 MB / 3.543 GB, free: 210.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/7.525, allocations: 0 / 3.543 GB, free: 210.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/7.525, allocations: 210.1 kB / 3.543 GB, free: 210.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/7.527, allocations: 311.2 kB / 3.544 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/7.529, allocations: 1.095 MB / 3.545 GB, free: 209 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/7.529, allocations: 1.015 MB / 3.546 GB, free: 208 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/7.529, allocations: 4 kB / 3.546 GB, free: 208 MB / 0.948 GB Notification: Performance of Templates: time 0.03022/7.56, allocations: 20.58 MB / 3.566 GB, free: 187.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)