Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 169.3 kB / 487 MB, free: 5.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 97.8 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6906/0.6917, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.9929, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.335/5.328, allocations: 1.928 GB / 3.134 GB, free: 390.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/5.329, allocations: 91.89 kB / 3.134 GB, free: 390.8 MB / 1.151 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.403/6.732, allocations: 490.2 MB / 3.612 GB, free: 304 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/6.732, allocations: 14.81 kB / 3.612 GB, free: 304 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/6.733, allocations: 210.7 kB / 3.613 GB, free: 304 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/6.736, allocations: 0.9271 MB / 3.613 GB, free: 303.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/6.736, allocations: 23.09 kB / 3.614 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/6.736, allocations: 31.25 kB / 3.614 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007754/6.737, allocations: 449 kB / 3.614 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/6.737, allocations: 0.5243 MB / 3.614 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/6.737, allocations: 2.938 kB / 3.614 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/6.738, allocations: 0 / 3.614 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/6.738, allocations: 17.31 kB / 3.615 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/6.741, allocations: 2.452 MB / 3.617 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/6.741, allocations: 334.2 kB / 3.617 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/6.741, allocations: 201.6 kB / 3.617 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/6.742, allocations: 305.8 kB / 3.618 GB, free: 302 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/6.742, allocations: 37.06 kB / 3.618 GB, free: 302 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/6.742, allocations: 0 / 3.618 GB, free: 302 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001108/6.743, allocations: 453.6 kB / 3.618 GB, free: 301.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/6.743, allocations: 59.28 kB / 3.618 GB, free: 301.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/6.743, allocations: 360.6 kB / 3.619 GB, free: 301.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/6.743, allocations: 28.7 kB / 3.619 GB, free: 301.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/6.743, allocations: 256.1 kB / 3.619 GB, free: 301.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/6.744, allocations: 124 kB / 3.619 GB, free: 301.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/6.744, allocations: 0 / 3.619 GB, free: 301.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/6.744, allocations: 362.6 kB / 3.619 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/6.744, allocations: 137.7 kB / 3.619 GB, free: 301.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/6.744, allocations: 271.6 kB / 3.62 GB, free: 300.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/6.745, allocations: 214.1 kB / 3.62 GB, free: 300.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/6.745, allocations: 3.438 kB / 3.62 GB, free: 300.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007812/6.745, allocations: 480 kB / 3.62 GB, free: 300.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002052/6.746, allocations: 0.873 MB / 3.621 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/6.746, allocations: 2.938 kB / 3.621 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/6.746, allocations: 6.375 kB / 3.621 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/6.746, allocations: 98.14 kB / 3.621 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003449/6.747, allocations: 0.6036 MB / 3.622 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/6.747, allocations: 64.59 kB / 3.622 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/6.747, allocations: 15.38 kB / 3.622 GB, free: 299.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/6.747, allocations: 3.969 kB / 3.622 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006246/6.748, allocations: 393.8 kB / 3.622 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/6.748, allocations: 3.75 kB / 3.622 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/6.748, allocations: 3.344 kB / 3.622 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/6.748, allocations: 95.02 kB / 3.622 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/6.748, allocations: 3.312 kB / 3.622 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/6.749, allocations: 59.67 kB / 3.623 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/6.749, allocations: 20.98 kB / 3.623 GB, free: 299 MB / 1.151 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.000147/6.749, allocations: 119.4 kB / 3.623 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/6.749, allocations: 53.34 kB / 3.623 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/6.75, allocations: 438.7 kB / 3.623 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/6.75, allocations: 6.469 kB / 3.623 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/6.75, allocations: 0 / 3.623 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000542/6.751, allocations: 0.6546 MB / 3.624 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/6.752, allocations: 1.122 MB / 3.625 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/6.753, allocations: 0 / 3.625 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/6.753, allocations: 89.52 kB / 3.625 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/6.753, allocations: 3.969 kB / 3.625 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/6.753, allocations: 8.734 kB / 3.625 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002167/6.753, allocations: 0.5972 MB / 3.626 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/6.753, allocations: 0.7969 kB / 3.626 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008182/6.754, allocations: 0.7941 MB / 3.626 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001792/6.756, allocations: 1.429 MB / 3.628 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/6.756, allocations: 180.7 kB / 3.628 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/6.756, allocations: 4.188 kB / 3.628 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/6.757, allocations: 38.14 kB / 3.628 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/6.757, allocations: 21.36 kB / 3.628 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/6.757, allocations: 11.52 kB / 3.628 GB, free: 295.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004479/6.757, allocations: 288.8 kB / 3.628 GB, free: 295.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003321/6.761, allocations: 0.752 MB / 3.629 GB, free: 294.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002278/6.763, allocations: 1.56 MB / 3.63 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001263/6.764, allocations: 0.569 MB / 3.631 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/6.764, allocations: 4.406 kB / 3.631 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/6.765, allocations: 185.9 kB / 3.631 GB, free: 294 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/6.766, allocations: 300.1 kB / 3.632 GB, free: 294 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/6.768, allocations: 1.061 MB / 3.633 GB, free: 293.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/6.769, allocations: 1.023 MB / 3.634 GB, free: 292.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/6.769, allocations: 1.375 kB / 3.634 GB, free: 292.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)