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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) [: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.386/1.386, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009602/0.0009604, allocations: 179.5 kB / 361.1 MB, free: 7.105 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.138/1.138, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008252/0.0008253, allocations: 87.83 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2135/0.2144, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.716, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.467/4.183, allocations: 2.083 GB / 3.046 GB, free: 52.74 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/4.183, allocations: 87.95 kB / 3.047 GB, free: 52.66 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 1.813/5.996, allocations: 481.9 MB / 3.517 GB, free: 229.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/5.996, allocations: 11.81 kB / 3.517 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/5.998, allocations: 220.1 kB / 3.517 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/6, allocations: 0.9034 MB / 3.518 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/6, allocations: 17.5 kB / 3.518 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/6, allocations: 37.97 kB / 3.518 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008353/6.001, allocations: 448.9 kB / 3.519 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/6.002, allocations: 0.519 MB / 3.519 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/6.002, allocations: 2.438 kB / 3.519 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/6.002, allocations: 0 / 3.519 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/6.002, allocations: 17.66 kB / 3.519 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/6.005, allocations: 2.362 MB / 3.522 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/6.006, allocations: 326.8 kB / 3.522 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/6.006, allocations: 197.2 kB / 3.522 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004965/6.006, allocations: 308.8 kB / 3.522 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/6.006, allocations: 39.59 kB / 3.522 GB, free: 227.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/6.006, allocations: 0 / 3.522 GB, free: 227.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001124/6.007, allocations: 447.4 kB / 3.523 GB, free: 227.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/6.008, allocations: 55.19 kB / 3.523 GB, free: 227.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/6.008, allocations: 364.8 kB / 3.523 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/6.008, allocations: 25.7 kB / 3.523 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/6.008, allocations: 252.6 kB / 3.524 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/6.008, allocations: 125.5 kB / 3.524 GB, free: 227.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/6.008, allocations: 0 / 3.524 GB, free: 227.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/6.008, allocations: 361.9 kB / 3.524 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/6.009, allocations: 142.5 kB / 3.524 GB, free: 226.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/6.009, allocations: 266.3 kB / 3.524 GB, free: 226.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/6.009, allocations: 220.4 kB / 3.525 GB, free: 226.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/6.009, allocations: 6.688 kB / 3.525 GB, free: 226.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007144/6.01, allocations: 466.5 kB / 3.525 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/6.01, allocations: 0.8744 MB / 3.526 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/6.01, allocations: 3.906 kB / 3.526 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/6.01, allocations: 5.672 kB / 3.526 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/6.011, allocations: 100.5 kB / 3.526 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003132/6.011, allocations: 0.6044 MB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/6.012, allocations: 54.42 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/6.012, allocations: 19.03 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/6.012, allocations: 7.766 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005978/6.012, allocations: 392.2 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/6.012, allocations: 0 / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/6.012, allocations: 3.906 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/6.013, allocations: 89.19 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/6.013, allocations: 14.19 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/6.013, allocations: 58.59 kB / 3.527 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/6.013, allocations: 18.59 kB / 3.527 GB, free: 225.1 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.0001211/6.013, allocations: 111.3 kB / 3.527 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/6.014, allocations: 50.25 kB / 3.527 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006378/6.014, allocations: 431.2 kB / 3.528 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/6.014, allocations: 6.594 kB / 3.528 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/6.014, allocations: 0 / 3.528 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004924/6.015, allocations: 0.6529 MB / 3.528 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/6.016, allocations: 1.127 MB / 3.53 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/6.016, allocations: 0 / 3.53 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/6.017, allocations: 93.73 kB / 3.53 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/6.017, allocations: 14.66 kB / 3.53 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/6.017, allocations: 11.77 kB / 3.53 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000195/6.017, allocations: 0.5947 MB / 3.53 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/6.017, allocations: 3.281 kB / 3.53 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007987/6.018, allocations: 0.819 MB / 3.531 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001345/6.019, allocations: 1.461 MB / 3.532 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/6.019, allocations: 176.7 kB / 3.533 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/6.02, allocations: 3.938 kB / 3.533 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/6.02, allocations: 37.09 kB / 3.533 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/6.02, allocations: 23.08 kB / 3.533 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/6.02, allocations: 15.16 kB / 3.533 GB, free: 222.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002686/6.02, allocations: 280.4 kB / 3.533 GB, free: 222.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00296/6.023, allocations: 0.754 MB / 3.534 GB, free: 222.3 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.002024/6.025, allocations: 1.552 MB / 3.535 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001046/6.026, allocations: 0.5805 MB / 3.536 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/6.026, allocations: 0 / 3.536 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/6.027, allocations: 185.9 kB / 3.536 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/6.028, allocations: 292.8 kB / 3.536 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/6.03, allocations: 1.063 MB / 3.537 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/6.031, allocations: 1.016 MB / 3.538 GB, free: 220.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/6.031, allocations: 0 / 3.538 GB, free: 220.8 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)