Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.001159/0.001159, allocations: 177.3 kB / 366.3 MB, free: 2.027 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.625/1.625, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0009382/0.0009382, allocations: 94.91 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.021e-05, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6788, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.898/5.576, allocations: 2.084 GB / 3.056 GB, free: 355.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/5.577, allocations: 90.66 kB / 3.056 GB, free: 355.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.595/7.172, allocations: 480.9 MB / 3.526 GB, free: 243.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001162/7.172, allocations: 22.38 kB / 3.526 GB, free: 243.3 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.003507/7.175, allocations: 0.9817 MB / 3.527 GB, free: 242.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.047e-05/7.175, allocations: 10.75 kB / 3.527 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/7.177, allocations: 217.1 kB / 3.527 GB, free: 242.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/7.18, allocations: 0.9039 MB / 3.528 GB, free: 242.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/7.18, allocations: 15.41 kB / 3.528 GB, free: 242.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/7.18, allocations: 33.34 kB / 3.528 GB, free: 242.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008652/7.181, allocations: 448.7 kB / 3.528 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/7.182, allocations: 0.5189 MB / 3.529 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/7.182, allocations: 5.812 kB / 3.529 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/7.182, allocations: 0 / 3.529 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/7.182, allocations: 19.44 kB / 3.529 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/7.185, allocations: 2.363 MB / 3.531 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/7.186, allocations: 329.1 kB / 3.532 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/7.186, allocations: 206.8 kB / 3.532 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/7.186, allocations: 307.8 kB / 3.532 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/7.186, allocations: 42.83 kB / 3.532 GB, free: 239.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.524e-06/7.186, allocations: 3.938 kB / 3.532 GB, free: 239.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001228/7.188, allocations: 443.3 kB / 3.533 GB, free: 239.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/7.188, allocations: 54.16 kB / 3.533 GB, free: 239.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/7.188, allocations: 363.9 kB / 3.533 GB, free: 239.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/7.188, allocations: 30.95 kB / 3.533 GB, free: 239.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/7.188, allocations: 252.3 kB / 3.533 GB, free: 239 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/7.188, allocations: 123.5 kB / 3.533 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/7.188, allocations: 0 / 3.533 GB, free: 238.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/7.189, allocations: 362.5 kB / 3.534 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/7.189, allocations: 134 kB / 3.534 GB, free: 238.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/7.189, allocations: 275.7 kB / 3.534 GB, free: 238.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/7.189, allocations: 210.6 kB / 3.534 GB, free: 238.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/7.19, allocations: 2.719 kB / 3.534 GB, free: 238.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007591/7.19, allocations: 465.5 kB / 3.535 GB, free: 238.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000245/7.191, allocations: 0.8808 MB / 3.536 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/7.191, allocations: 3.656 kB / 3.536 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/7.191, allocations: 3.594 kB / 3.536 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/7.191, allocations: 97.7 kB / 3.536 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003555/7.192, allocations: 0.5992 MB / 3.536 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/7.192, allocations: 56.14 kB / 3.536 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/7.192, allocations: 20.11 kB / 3.536 GB, free: 236.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/7.192, allocations: 7.188 kB / 3.536 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006348/7.193, allocations: 394.2 kB / 3.537 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/7.193, allocations: 2.688 kB / 3.537 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/7.193, allocations: 5.375 kB / 3.537 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/7.193, allocations: 95.73 kB / 3.537 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/7.193, allocations: 4.812 kB / 3.537 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/7.194, allocations: 51.98 kB / 3.537 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/7.194, allocations: 19.75 kB / 3.537 GB, free: 236.4 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.0001173/7.194, allocations: 114.6 kB / 3.537 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/7.194, allocations: 53.78 kB / 3.537 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/7.195, allocations: 440.1 kB / 3.538 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/7.195, allocations: 5.719 kB / 3.538 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/7.195, allocations: 2.344 kB / 3.538 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005646/7.195, allocations: 0.6537 MB / 3.538 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/7.197, allocations: 1.121 MB / 3.539 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/7.197, allocations: 3.906 kB / 3.539 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/7.198, allocations: 99.41 kB / 3.539 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/7.198, allocations: 3.312 kB / 3.539 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/7.198, allocations: 6.344 kB / 3.539 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002323/7.198, allocations: 0.6003 MB / 3.54 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/7.198, allocations: 2.5 kB / 3.54 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008948/7.199, allocations: 0.8191 MB / 3.541 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/7.199, allocations: 173.7 kB / 3.541 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/7.199, allocations: 5.312 kB / 3.541 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/7.2, allocations: 34.31 kB / 3.541 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/7.2, allocations: 24.73 kB / 3.541 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/7.2, allocations: 13.91 kB / 3.541 GB, free: 233.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002913/7.2, allocations: 280.1 kB / 3.541 GB, free: 233.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001381/7.201, allocations: 436.9 kB / 3.542 GB, free: 233.4 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.002237/7.204, allocations: 1.553 MB / 3.543 GB, free: 233 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00115/7.205, allocations: 0.5704 MB / 3.544 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/7.205, allocations: 0 / 3.544 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/7.205, allocations: 183.6 kB / 3.544 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/7.207, allocations: 306.6 kB / 3.544 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/7.209, allocations: 1.039 MB / 3.545 GB, free: 232.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/7.209, allocations: 1.006 MB / 3.546 GB, free: 231.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/7.209, allocations: 0 / 3.546 GB, free: 231.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03223/7.242, allocations: 19.88 MB / 3.566 GB, free: 218.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)