Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.571/1.571, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.001352/0.001353, allocations: 173.3 kB / 361.1 MB, free: 7.133 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.56/1.56, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000923/0.000923, allocations: 92.73 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.728e-06, allocations: 4 kB / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.64, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.159/4.799, allocations: 2.083 GB / 3.046 GB, free: 24.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/4.8, allocations: 85.38 kB / 3.046 GB, free: 24.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.983/6.783, allocations: 480.9 MB / 3.516 GB, free: 232 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.859e-05/6.783, allocations: 25.09 kB / 3.516 GB, free: 232 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.00196/6.785, allocations: 0.9828 MB / 3.517 GB, free: 231.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/6.785, allocations: 7.906 kB / 3.517 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/6.786, allocations: 212.5 kB / 3.517 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/6.788, allocations: 0.9097 MB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/6.788, allocations: 22.34 kB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/6.788, allocations: 37.09 kB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007214/6.789, allocations: 447.3 kB / 3.519 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/6.79, allocations: 0.5178 MB / 3.519 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/6.79, allocations: 3.312 kB / 3.519 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/6.79, allocations: 2.625 kB / 3.519 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/6.79, allocations: 18.53 kB / 3.519 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/6.793, allocations: 2.341 MB / 3.521 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/6.793, allocations: 330.2 kB / 3.522 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/6.793, allocations: 198.2 kB / 3.522 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/6.794, allocations: 308.4 kB / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/6.794, allocations: 47.36 kB / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.876e-06/6.794, allocations: 0 / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001117/6.795, allocations: 440.7 kB / 3.523 GB, free: 229.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/6.795, allocations: 58.16 kB / 3.523 GB, free: 229.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/6.795, allocations: 356.2 kB / 3.523 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/6.795, allocations: 29.55 kB / 3.523 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/6.796, allocations: 261.1 kB / 3.523 GB, free: 229.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/6.796, allocations: 122.9 kB / 3.524 GB, free: 229 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/6.796, allocations: 0 / 3.524 GB, free: 229 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/6.796, allocations: 366.2 kB / 3.524 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/6.796, allocations: 135 kB / 3.524 GB, free: 228.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/6.796, allocations: 270.4 kB / 3.524 GB, free: 228.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/6.797, allocations: 217 kB / 3.524 GB, free: 228.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/6.797, allocations: 3.188 kB / 3.524 GB, free: 228.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006703/6.797, allocations: 474.2 kB / 3.525 GB, free: 228.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/6.797, allocations: 0.8707 MB / 3.526 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/6.798, allocations: 0 / 3.526 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/6.798, allocations: 7.031 kB / 3.526 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/6.798, allocations: 107.2 kB / 3.526 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003339/6.798, allocations: 0.6004 MB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/6.799, allocations: 60.38 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/6.799, allocations: 19.47 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/6.799, allocations: 3.969 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006099/6.8, allocations: 393.8 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/6.8, allocations: 3.906 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/6.8, allocations: 11.34 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/6.8, allocations: 86.7 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/6.8, allocations: 11.58 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/6.801, allocations: 52 kB / 3.527 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/6.801, allocations: 18.19 kB / 3.527 GB, free: 227 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.0001176/6.801, allocations: 110.4 kB / 3.527 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/6.801, allocations: 53.75 kB / 3.527 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/6.802, allocations: 431.4 kB / 3.528 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/6.802, allocations: 3.938 kB / 3.528 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/6.802, allocations: 3.25 kB / 3.528 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005229/6.802, allocations: 0.6503 MB / 3.528 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/6.804, allocations: 1.127 MB / 3.529 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/6.804, allocations: 6.141 kB / 3.529 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/6.804, allocations: 90.09 kB / 3.53 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/6.804, allocations: 7.688 kB / 3.53 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/6.804, allocations: 5.5 kB / 3.53 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002459/6.805, allocations: 0.5974 MB / 3.53 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/6.805, allocations: 7.344 kB / 3.53 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008734/6.806, allocations: 0.8178 MB / 3.531 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/6.806, allocations: 170.3 kB / 3.531 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/6.806, allocations: 6.719 kB / 3.531 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/6.806, allocations: 38.12 kB / 3.531 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/6.806, allocations: 19.14 kB / 3.531 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/6.806, allocations: 18.48 kB / 3.531 GB, free: 224.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003121/6.807, allocations: 281.6 kB / 3.531 GB, free: 224.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001574/6.808, allocations: 442.1 kB / 3.532 GB, free: 224.8 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.002073/6.81, allocations: 1.552 MB / 3.533 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001171/6.812, allocations: 0.5721 MB / 3.534 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/6.812, allocations: 0 / 3.534 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/6.812, allocations: 184.6 kB / 3.534 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/6.813, allocations: 300.3 kB / 3.534 GB, free: 224.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/6.816, allocations: 1.045 MB / 3.535 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/6.817, allocations: 1.011 MB / 3.536 GB, free: 223.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.123e-06/6.817, allocations: 0.5625 kB / 3.536 GB, free: 223.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03537/6.852, allocations: 19.86 MB / 3.556 GB, free: 222.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)