Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.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.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") [: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.234/2.234, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001568/0.001568, allocations: 185.3 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.811/1.811, allocations: 205.2 MB / 0.6188 GB, free: 12.4 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.001208/0.001208, allocations: 92.27 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.319e-05/1.327e-05, allocations: 4 kB / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.657/0.657, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.236/5.893, allocations: 2.083 GB / 3.045 GB, free: 271.9 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/5.893, allocations: 87.64 kB / 3.045 GB, free: 271.9 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.032/7.925, allocations: 480.9 MB / 3.515 GB, free: 224.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.135e-05/7.925, allocations: 26.41 kB / 3.515 GB, free: 224.4 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002746/7.928, allocations: 0.9885 MB / 3.516 GB, free: 223.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/7.928, allocations: 10.78 kB / 3.516 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/7.93, allocations: 212.2 kB / 3.516 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003615/7.934, allocations: 0.9055 MB / 3.517 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/7.934, allocations: 14.94 kB / 3.517 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/7.934, allocations: 35.78 kB / 3.517 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/7.935, allocations: 447.7 kB / 3.518 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/7.937, allocations: 0.5247 MB / 3.518 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/7.937, allocations: 0 / 3.518 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/7.937, allocations: 0 / 3.518 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/7.937, allocations: 19.34 kB / 3.518 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/7.941, allocations: 2.36 MB / 3.52 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/7.942, allocations: 335.5 kB / 3.521 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/7.943, allocations: 200.1 kB / 3.521 GB, free: 220.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/7.943, allocations: 313.7 kB / 3.521 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/7.943, allocations: 34.56 kB / 3.521 GB, free: 219.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.216e-06/7.943, allocations: 2.094 kB / 3.521 GB, free: 219.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001896/7.945, allocations: 450.2 kB / 3.522 GB, free: 219.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/7.945, allocations: 57.53 kB / 3.522 GB, free: 219.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/7.946, allocations: 356.6 kB / 3.522 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/7.946, allocations: 25.7 kB / 3.522 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/7.946, allocations: 258.2 kB / 3.522 GB, free: 219.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/7.946, allocations: 123.9 kB / 3.522 GB, free: 219 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/7.947, allocations: 6.531 kB / 3.523 GB, free: 219 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.947, allocations: 359.8 kB / 3.523 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/7.947, allocations: 139.6 kB / 3.523 GB, free: 218.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/7.947, allocations: 268 kB / 3.523 GB, free: 218.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/7.948, allocations: 218.1 kB / 3.523 GB, free: 218.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/7.948, allocations: 0 / 3.523 GB, free: 218.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001408/7.95, allocations: 477.8 kB / 3.524 GB, free: 218 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/7.95, allocations: 0.8698 MB / 3.525 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/7.95, allocations: 2.906 kB / 3.525 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/7.95, allocations: 5.125 kB / 3.525 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/7.951, allocations: 101.4 kB / 3.525 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/7.952, allocations: 0.5999 MB / 3.525 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/7.953, allocations: 60.98 kB / 3.525 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/7.953, allocations: 18.25 kB / 3.526 GB, free: 216.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/7.953, allocations: 5.031 kB / 3.526 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/7.954, allocations: 391.9 kB / 3.526 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/7.954, allocations: 3 kB / 3.526 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/7.954, allocations: 5.188 kB / 3.526 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/7.955, allocations: 93.98 kB / 3.526 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/7.955, allocations: 4.562 kB / 3.526 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/7.956, allocations: 46.44 kB / 3.526 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/7.956, allocations: 23.92 kB / 3.526 GB, free: 216.2 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 (49): * Single equations (assignments): 48 * 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.0002077/7.956, allocations: 111.7 kB / 3.526 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/7.956, allocations: 56.06 kB / 3.526 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/7.958, allocations: 431.1 kB / 3.527 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/7.958, allocations: 5.562 kB / 3.527 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/7.958, allocations: 3.906 kB / 3.527 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009129/7.959, allocations: 0.6472 MB / 3.527 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/7.962, allocations: 1.122 MB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/7.962, allocations: 5.969 kB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009637/7.963, allocations: 97.28 kB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/7.963, allocations: 3.406 kB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/7.963, allocations: 7.375 kB / 3.528 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000322/7.963, allocations: 0.5938 MB / 3.529 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/7.963, allocations: 1.969 kB / 3.529 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001642/7.965, allocations: 0.8232 MB / 3.53 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/7.965, allocations: 183.7 kB / 3.53 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/7.965, allocations: 4.75 kB / 3.53 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/7.966, allocations: 37.81 kB / 3.53 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/7.966, allocations: 19.38 kB / 3.53 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/7.966, allocations: 12.72 kB / 3.53 GB, free: 213 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005029/7.967, allocations: 284 kB / 3.53 GB, free: 212.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001961/7.969, allocations: 437.7 kB / 3.531 GB, free: 212.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.00281/7.972, allocations: 1.567 MB / 3.532 GB, free: 212 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002102/7.974, allocations: 0.5611 MB / 3.533 GB, free: 211.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/7.974, allocations: 4 kB / 3.533 GB, free: 211.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/7.975, allocations: 187.1 kB / 3.533 GB, free: 211.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/7.978, allocations: 289.8 kB / 3.533 GB, free: 211.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/7.981, allocations: 1.044 MB / 3.534 GB, free: 210.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008027/7.981, allocations: 1.008 MB / 3.535 GB, free: 209.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/7.981, allocations: 0 / 3.535 GB, free: 209.7 MB / 0.948 GB Notification: Performance of Templates: time 0.05054/8.032, allocations: 19.86 MB / 3.555 GB, free: 190.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)