Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.569/2.569, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001682/0.001682, allocations: 185.2 kB / 360.3 MB, free: 7.539 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.872/1.872, allocations: 205.1 MB / 0.6187 GB, free: 13.26 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.001254/0.001253, allocations: 91.27 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2793/0.2806, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.9147, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.901/5.816, allocations: 2.083 GB / 3.045 GB, free: 35.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/5.817, allocations: 92 kB / 3.045 GB, free: 35.74 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 2.566/8.383, allocations: 481.9 MB / 3.516 GB, free: 231.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/8.383, allocations: 12.75 kB / 3.516 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/8.386, allocations: 215.2 kB / 3.516 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/8.39, allocations: 0.908 MB / 3.517 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/8.39, allocations: 19.56 kB / 3.517 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/8.39, allocations: 35.22 kB / 3.517 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/8.391, allocations: 441.6 kB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/8.393, allocations: 0.5273 MB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/8.393, allocations: 0 / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/8.393, allocations: 0 / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/8.393, allocations: 17.56 kB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/8.398, allocations: 2.363 MB / 3.52 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/8.398, allocations: 320.7 kB / 3.521 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/8.399, allocations: 204.3 kB / 3.521 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/8.4, allocations: 306.4 kB / 3.521 GB, free: 229.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/8.4, allocations: 45.75 kB / 3.521 GB, free: 229.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/8.4, allocations: 3.5 kB / 3.521 GB, free: 229.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001828/8.402, allocations: 442 kB / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/8.402, allocations: 61.94 kB / 3.522 GB, free: 229.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/8.402, allocations: 355.1 kB / 3.522 GB, free: 229.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/8.402, allocations: 29.52 kB / 3.522 GB, free: 229.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/8.403, allocations: 251.8 kB / 3.522 GB, free: 229.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/8.403, allocations: 123.3 kB / 3.522 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/8.403, allocations: 0 / 3.522 GB, free: 229.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001156/8.403, allocations: 370.5 kB / 3.523 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/8.403, allocations: 134.6 kB / 3.523 GB, free: 228.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/8.404, allocations: 275.6 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/8.405, allocations: 214.5 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/8.405, allocations: 3.906 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001319/8.406, allocations: 469 kB / 3.524 GB, free: 228.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/8.406, allocations: 0.8762 MB / 3.525 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/8.406, allocations: 2.719 kB / 3.525 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/8.406, allocations: 7.281 kB / 3.525 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/8.407, allocations: 99.42 kB / 3.525 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/8.408, allocations: 0.6045 MB / 3.525 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/8.409, allocations: 53.31 kB / 3.525 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/8.409, allocations: 22.69 kB / 3.525 GB, free: 227 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/8.409, allocations: 3.875 kB / 3.525 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/8.411, allocations: 394.9 kB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/8.411, allocations: 6.438 kB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/8.411, allocations: 3.906 kB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/8.411, allocations: 89 kB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/8.411, allocations: 9.25 kB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/8.413, allocations: 50.88 kB / 3.526 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/8.413, allocations: 18.16 kB / 3.526 GB, free: 227 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.0001948/8.413, allocations: 113.1 kB / 3.526 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/8.413, allocations: 51.62 kB / 3.526 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/8.414, allocations: 440.4 kB / 3.527 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/8.414, allocations: 1.344 kB / 3.527 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/8.414, allocations: 0 / 3.527 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009235/8.415, allocations: 0.6528 MB / 3.527 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/8.418, allocations: 1.123 MB / 3.528 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/8.418, allocations: 7.062 kB / 3.528 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009686/8.419, allocations: 97.56 kB / 3.528 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/8.419, allocations: 2.344 kB / 3.528 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/8.419, allocations: 2.875 kB / 3.528 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003064/8.419, allocations: 0.5977 MB / 3.529 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/8.419, allocations: 6.375 kB / 3.529 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0015/8.421, allocations: 0.8239 MB / 3.53 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002276/8.423, allocations: 1.47 MB / 3.531 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/8.424, allocations: 165.3 kB / 3.531 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/8.424, allocations: 7.219 kB / 3.531 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/8.425, allocations: 35.97 kB / 3.531 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/8.425, allocations: 23.83 kB / 3.531 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/8.425, allocations: 19.69 kB / 3.531 GB, free: 224.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004592/8.425, allocations: 282.6 kB / 3.532 GB, free: 224.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004606/8.43, allocations: 0.7555 MB / 3.533 GB, free: 224.2 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.002668/8.433, allocations: 1.552 MB / 3.534 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002058/8.435, allocations: 0.5755 MB / 3.535 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/8.435, allocations: 0 / 3.535 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005653/8.435, allocations: 184.2 kB / 3.535 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/8.438, allocations: 290.4 kB / 3.535 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/8.441, allocations: 1.048 MB / 3.536 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008744/8.442, allocations: 1.015 MB / 3.537 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/8.442, allocations: 2.375 kB / 3.537 GB, free: 222.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)