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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001414/0.001414, allocations: 189.3 kB / 366.3 MB, free: 1.953 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.556/1.556, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009329/0.0009329, allocations: 89 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.314/0.315, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7826/1.098, allocations: 116.3 MB / 0.9727 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.683/5.78, allocations: 2.084 GB / 3.056 GB, free: 356.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/5.781, allocations: 88.14 kB / 3.056 GB, free: 356.2 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.509/7.289, allocations: 481.9 MB / 3.527 GB, free: 241.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/7.289, allocations: 9.031 kB / 3.527 GB, free: 241.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/7.291, allocations: 214 kB / 3.527 GB, free: 241.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/7.295, allocations: 0.9029 MB / 3.528 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/7.295, allocations: 15.28 kB / 3.528 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/7.295, allocations: 40.06 kB / 3.528 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/7.296, allocations: 449.7 kB / 3.529 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/7.297, allocations: 0.5175 MB / 3.529 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/7.297, allocations: 0 / 3.529 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/7.297, allocations: 0.8906 kB / 3.529 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/7.297, allocations: 26.12 kB / 3.529 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/7.301, allocations: 2.354 MB / 3.531 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/7.302, allocations: 332.7 kB / 3.532 GB, free: 238.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/7.302, allocations: 201.1 kB / 3.532 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/7.303, allocations: 307 kB / 3.532 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/7.303, allocations: 39.66 kB / 3.532 GB, free: 238.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.256e-06/7.303, allocations: 0 / 3.532 GB, free: 238.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001523/7.304, allocations: 441.5 kB / 3.533 GB, free: 238.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/7.304, allocations: 56.72 kB / 3.533 GB, free: 238 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/7.305, allocations: 361.7 kB / 3.533 GB, free: 237.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/7.305, allocations: 28.64 kB / 3.533 GB, free: 237.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/7.305, allocations: 252.5 kB / 3.533 GB, free: 237.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/7.305, allocations: 123.2 kB / 3.533 GB, free: 237.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/7.305, allocations: 0 / 3.533 GB, free: 237.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001781/7.306, allocations: 368 kB / 3.534 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/7.306, allocations: 134.2 kB / 3.534 GB, free: 237.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/7.306, allocations: 272.8 kB / 3.534 GB, free: 237 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/7.307, allocations: 219.6 kB / 3.534 GB, free: 236.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/7.307, allocations: 2.594 kB / 3.534 GB, free: 236.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000984/7.308, allocations: 471.7 kB / 3.535 GB, free: 236.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/7.308, allocations: 0.8742 MB / 3.536 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/7.308, allocations: 2.031 kB / 3.536 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/7.308, allocations: 8.406 kB / 3.536 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/7.309, allocations: 92.3 kB / 3.536 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003614/7.309, allocations: 0.6103 MB / 3.536 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/7.31, allocations: 52.66 kB / 3.536 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/7.31, allocations: 19 kB / 3.536 GB, free: 235.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/7.31, allocations: 8.531 kB / 3.536 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006891/7.311, allocations: 397.3 kB / 3.537 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/7.311, allocations: 0 / 3.537 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/7.311, allocations: 9.281 kB / 3.537 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/7.311, allocations: 87.34 kB / 3.537 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/7.311, allocations: 2.5 kB / 3.537 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/7.312, allocations: 50.75 kB / 3.537 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/7.312, allocations: 20.59 kB / 3.537 GB, free: 235 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.0001563/7.312, allocations: 118 kB / 3.537 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/7.312, allocations: 54.34 kB / 3.537 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/7.313, allocations: 431.3 kB / 3.538 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/7.313, allocations: 4.078 kB / 3.538 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.313, allocations: 5.781 kB / 3.538 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005634/7.314, allocations: 0.6567 MB / 3.538 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/7.315, allocations: 1.118 MB / 3.539 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/7.315, allocations: 2.562 kB / 3.539 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/7.316, allocations: 96.72 kB / 3.539 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/7.316, allocations: 6.938 kB / 3.539 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/7.316, allocations: 2.906 kB / 3.539 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002419/7.316, allocations: 0.5969 MB / 3.54 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/7.316, allocations: 5.875 kB / 3.54 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009629/7.317, allocations: 0.8189 MB / 3.541 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001577/7.319, allocations: 1.472 MB / 3.542 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/7.319, allocations: 171.8 kB / 3.542 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/7.319, allocations: 9.781 kB / 3.542 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/7.32, allocations: 32.66 kB / 3.542 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/7.32, allocations: 30.98 kB / 3.543 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/7.32, allocations: 14.38 kB / 3.543 GB, free: 231.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003271/7.32, allocations: 280.9 kB / 3.543 GB, free: 231.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003203/7.323, allocations: 0.7553 MB / 3.544 GB, free: 230.6 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.002132/7.326, allocations: 1.551 MB / 3.545 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001376/7.327, allocations: 0.5741 MB / 3.546 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/7.327, allocations: 3.938 kB / 3.546 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/7.327, allocations: 184 kB / 3.546 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/7.329, allocations: 298.5 kB / 3.546 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/7.331, allocations: 1.045 MB / 3.547 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006248/7.332, allocations: 1.017 MB / 3.548 GB, free: 228.7 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/7.332, allocations: 0 / 3.548 GB, free: 228.7 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)