Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.073/2.073, allocations: 253.1 MB / 260.4 MB, free: 7.422 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002426/0.002425, allocations: 185.3 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0019/0.001899, allocations: 105.8 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.298e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.44/5.651, allocations: 2.202 GB / 3.09 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/5.652, allocations: 92.73 kB / 3.09 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.029/7.681, allocations: 468 MB / 3.547 GB, free: 21.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.881e-05/7.681, allocations: 19.98 kB / 3.547 GB, free: 21.78 MB / 0.8698 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.003014/7.684, allocations: 0.9814 MB / 3.548 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/7.684, allocations: 16.02 kB / 3.548 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/7.687, allocations: 214.8 kB / 3.548 GB, free: 20.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/7.69, allocations: 0.9075 MB / 3.549 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/7.69, allocations: 20 kB / 3.549 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/7.691, allocations: 36 kB / 3.549 GB, free: 19.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/7.692, allocations: 442.5 kB / 3.549 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/7.693, allocations: 0.5322 MB / 3.55 GB, free: 18.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/7.693, allocations: 3.906 kB / 3.55 GB, free: 18.53 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/7.693, allocations: 3.938 kB / 3.55 GB, free: 18.53 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/7.693, allocations: 17.31 kB / 3.55 GB, free: 18.51 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/7.698, allocations: 2.365 MB / 3.552 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/7.699, allocations: 323.1 kB / 3.553 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/7.699, allocations: 197.8 kB / 3.553 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008102/7.7, allocations: 315.2 kB / 3.553 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/7.7, allocations: 34.56 kB / 3.553 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.826e-06/7.7, allocations: 0 / 3.553 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001819/7.702, allocations: 441.2 kB / 3.554 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/7.702, allocations: 59.41 kB / 3.554 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/7.703, allocations: 365.1 kB / 3.554 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/7.703, allocations: 25.7 kB / 3.554 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/7.703, allocations: 252.3 kB / 3.554 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/7.703, allocations: 126.2 kB / 3.554 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/7.703, allocations: 0 / 3.554 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001148/7.703, allocations: 362.7 kB / 3.555 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/7.703, allocations: 132.8 kB / 3.555 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/7.704, allocations: 258.4 kB / 3.555 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/7.705, allocations: 214.7 kB / 3.555 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/7.705, allocations: 4 kB / 3.555 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001237/7.706, allocations: 466.6 kB / 3.556 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/7.706, allocations: 0.8773 MB / 3.557 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/7.706, allocations: 0 / 3.557 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/7.706, allocations: 4 kB / 3.557 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/7.707, allocations: 107.8 kB / 3.557 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004923/7.708, allocations: 0.6016 MB / 3.557 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/7.709, allocations: 55.73 kB / 3.557 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/7.709, allocations: 20 kB / 3.557 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/7.709, allocations: 96 / 3.557 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/7.71, allocations: 399.4 kB / 3.558 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/7.71, allocations: 3.906 kB / 3.558 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/7.71, allocations: 11.98 kB / 3.558 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007022/7.711, allocations: 92.12 kB / 3.558 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/7.711, allocations: 4 kB / 3.558 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/7.712, allocations: 55.64 kB / 3.558 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/7.712, allocations: 20 kB / 3.558 GB, free: 9.965 MB / 0.8698 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.0001851/7.712, allocations: 112.9 kB / 3.558 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/7.712, allocations: 51.34 kB / 3.558 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/7.714, allocations: 431.2 kB / 3.558 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/7.714, allocations: 4 kB / 3.558 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/7.714, allocations: 0 / 3.558 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008453/7.715, allocations: 0.6517 MB / 3.559 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/7.717, allocations: 1.125 MB / 3.56 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-06/7.717, allocations: 8.031 kB / 3.56 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/7.718, allocations: 91.88 kB / 3.56 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/7.718, allocations: 0 / 3.56 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/7.718, allocations: 12 kB / 3.56 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000304/7.719, allocations: 0.5938 MB / 3.561 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/7.719, allocations: 7.938 kB / 3.561 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001491/7.72, allocations: 0.8022 MB / 3.562 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/7.721, allocations: 180.3 kB / 3.562 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/7.721, allocations: 8 kB / 3.562 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/7.722, allocations: 47.75 kB / 3.562 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/7.722, allocations: 23.97 kB / 3.562 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/7.722, allocations: 19.98 kB / 3.562 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004919/7.722, allocations: 279 kB / 3.562 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001804/7.724, allocations: 435 kB / 3.563 GB, free: 4.824 MB / 0.8698 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.00256/7.727, allocations: 1.564 MB / 3.564 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001992/7.729, allocations: 0.5569 MB / 3.565 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/7.729, allocations: 1.125 kB / 3.565 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005221/7.729, allocations: 188.2 kB / 3.565 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/7.732, allocations: 301 kB / 3.565 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/7.735, allocations: 1.042 MB / 3.566 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/7.736, allocations: 1.009 MB / 3.567 GB, free: 36 kB / 0.8698 GB Notification: Performance of SimCode: time 2.775e-06/7.736, allocations: 0 / 3.567 GB, free: 36 kB / 0.8698 GB Notification: Performance of Templates: time 0.5654/8.302, allocations: 19.86 MB / 3.587 GB, free: 160 MB / 0.8855 GB