Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 169.3 kB / 316 MB, free: 3.531 MB / 250.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.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007741/0.0007741, allocations: 86.34 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.321/0.3218, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.4849, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.076/4.561, allocations: 2.202 GB / 3.087 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/4.561, allocations: 87.95 kB / 3.087 GB, free: 184.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 1.289/5.85, allocations: 469 MB / 3.545 GB, free: 54.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/5.85, allocations: 8 kB / 3.545 GB, free: 54.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/5.852, allocations: 218.8 kB / 3.545 GB, free: 54.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/5.854, allocations: 0.8997 MB / 3.546 GB, free: 53.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/5.854, allocations: 20 kB / 3.546 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/5.854, allocations: 35.94 kB / 3.546 GB, free: 53.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008431/5.855, allocations: 450.5 kB / 3.546 GB, free: 52.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009018/5.856, allocations: 0.5283 MB / 3.547 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/5.856, allocations: 0 / 3.547 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/5.856, allocations: 0 / 3.547 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/5.856, allocations: 29.3 kB / 3.547 GB, free: 52.13 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/5.859, allocations: 2.364 MB / 3.549 GB, free: 49.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/5.86, allocations: 327.1 kB / 3.549 GB, free: 49.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/5.86, allocations: 191 kB / 3.55 GB, free: 49.07 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/5.86, allocations: 307.3 kB / 3.55 GB, free: 48.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/5.86, allocations: 42.5 kB / 3.55 GB, free: 48.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/5.86, allocations: 0 / 3.55 GB, free: 48.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001119/5.862, allocations: 437.2 kB / 3.55 GB, free: 48.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/5.862, allocations: 55.41 kB / 3.55 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/5.862, allocations: 365.2 kB / 3.551 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/5.862, allocations: 25.7 kB / 3.551 GB, free: 47.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/5.862, allocations: 256.3 kB / 3.551 GB, free: 47.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/5.862, allocations: 126.1 kB / 3.551 GB, free: 47.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/5.862, allocations: 0 / 3.551 GB, free: 47.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/5.862, allocations: 362.7 kB / 3.551 GB, free: 47.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/5.863, allocations: 136.8 kB / 3.552 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/5.863, allocations: 266.3 kB / 3.552 GB, free: 46.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/5.863, allocations: 209.4 kB / 3.552 GB, free: 46.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/5.863, allocations: 4 kB / 3.552 GB, free: 46.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006677/5.864, allocations: 462.7 kB / 3.553 GB, free: 45.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/5.864, allocations: 0.8773 MB / 3.553 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/5.864, allocations: 4 kB / 3.553 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/5.864, allocations: 4.094 kB / 3.553 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/5.865, allocations: 95.83 kB / 3.553 GB, free: 44.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003052/5.865, allocations: 0.6093 MB / 3.554 GB, free: 44.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/5.866, allocations: 51.75 kB / 3.554 GB, free: 44.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/5.866, allocations: 19.98 kB / 3.554 GB, free: 44.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/5.866, allocations: 11.84 kB / 3.554 GB, free: 44.15 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005593/5.866, allocations: 387.7 kB / 3.555 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/5.866, allocations: 8.031 kB / 3.555 GB, free: 43.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/5.866, allocations: 4 kB / 3.555 GB, free: 43.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/5.867, allocations: 87.89 kB / 3.555 GB, free: 43.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/5.867, allocations: 4 kB / 3.555 GB, free: 43.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/5.867, allocations: 47.72 kB / 3.555 GB, free: 43.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/5.867, allocations: 23.98 kB / 3.555 GB, free: 43.6 MB / 0.8698 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.0001144/5.867, allocations: 120.8 kB / 3.555 GB, free: 43.47 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/5.867, allocations: 55.34 kB / 3.555 GB, free: 43.42 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/5.868, allocations: 427.3 kB / 3.555 GB, free: 42.99 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/5.868, allocations: 8 kB / 3.555 GB, free: 42.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/5.868, allocations: 0 / 3.555 GB, free: 42.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004651/5.869, allocations: 0.6555 MB / 3.556 GB, free: 42.24 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/5.87, allocations: 1.117 MB / 3.557 GB, free: 41.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/5.87, allocations: 4 kB / 3.557 GB, free: 41.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/5.871, allocations: 95.81 kB / 3.557 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/5.871, allocations: 4 kB / 3.557 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/5.871, allocations: 11.98 kB / 3.557 GB, free: 40.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001896/5.871, allocations: 0.594 MB / 3.558 GB, free: 40.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/5.871, allocations: 0 / 3.558 GB, free: 40.33 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00075/5.872, allocations: 0.812 MB / 3.558 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001198/5.873, allocations: 1.46 MB / 3.56 GB, free: 37.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/5.873, allocations: 172.4 kB / 3.56 GB, free: 37.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/5.873, allocations: 7.906 kB / 3.56 GB, free: 37.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/5.874, allocations: 39.89 kB / 3.56 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/5.874, allocations: 31.88 kB / 3.56 GB, free: 37.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/5.874, allocations: 12 kB / 3.56 GB, free: 37.61 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002581/5.874, allocations: 286.9 kB / 3.56 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002864/5.877, allocations: 0.7491 MB / 3.561 GB, free: 36.59 MB / 0.8698 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.001872/5.879, allocations: 1.568 MB / 3.563 GB, free: 34.96 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001034/5.88, allocations: 0.567 MB / 3.563 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/5.88, allocations: 0 / 3.563 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/5.88, allocations: 187.9 kB / 3.563 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/5.882, allocations: 297.9 kB / 3.564 GB, free: 33.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/5.883, allocations: 1.05 MB / 3.565 GB, free: 32.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/5.884, allocations: 1.023 MB / 3.566 GB, free: 31.78 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/5.884, allocations: 0 / 3.566 GB, free: 31.78 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)