Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.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.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",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.639/1.639, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001129/0.001129, allocations: 177.3 kB / 366.3 MB, free: 2.016 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.536/1.536, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.000989/0.0009891, allocations: 93.61 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3118/0.3128, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/1.023, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.728/5.751, allocations: 2.08 GB / 3.053 GB, free: 354.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/5.752, allocations: 96.53 kB / 3.053 GB, free: 354.6 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 1.47/7.222, allocations: 484 MB / 3.526 GB, free: 242.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/7.222, allocations: 10.88 kB / 3.526 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/7.224, allocations: 284.4 kB / 3.526 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/7.225, allocations: 0.6398 MB / 3.527 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/7.226, allocations: 17.09 kB / 3.527 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/7.226, allocations: 32.84 kB / 3.527 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008276/7.226, allocations: 495.6 kB / 3.527 GB, free: 241.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/7.227, allocations: 0.5545 MB / 3.528 GB, free: 241.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/7.227, allocations: 3.891 kB / 3.528 GB, free: 241.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/7.227, allocations: 6.312 kB / 3.528 GB, free: 241.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/7.227, allocations: 20.75 kB / 3.528 GB, free: 241.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/7.23, allocations: 2.454 MB / 3.53 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/7.231, allocations: 386.2 kB / 3.53 GB, free: 239.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/7.231, allocations: 239.6 kB / 3.531 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/7.232, allocations: 481.8 kB / 3.531 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/7.232, allocations: 33.25 kB / 3.531 GB, free: 238.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/7.232, allocations: 0 / 3.531 GB, free: 238.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.001334/7.233, allocations: 480.3 kB / 3.532 GB, free: 238.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/7.233, allocations: 57.09 kB / 3.532 GB, free: 238.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/7.234, allocations: 362 kB / 3.532 GB, free: 238.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/7.234, allocations: 28.42 kB / 3.532 GB, free: 238.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/7.234, allocations: 250.3 kB / 3.532 GB, free: 238.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/7.234, allocations: 138.9 kB / 3.532 GB, free: 238.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/7.234, allocations: 0 / 3.532 GB, free: 238.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/7.234, allocations: 368.7 kB / 3.533 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/7.234, allocations: 137.8 kB / 3.533 GB, free: 237.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/7.235, allocations: 265.7 kB / 3.533 GB, free: 237.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/7.235, allocations: 215.5 kB / 3.533 GB, free: 237.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/7.235, allocations: 1.375 kB / 3.533 GB, free: 237.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007536/7.236, allocations: 491.2 kB / 3.534 GB, free: 237.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/7.236, allocations: 0.8738 MB / 3.535 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/7.236, allocations: 2.625 kB / 3.535 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/7.236, allocations: 2.75 kB / 3.535 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/7.237, allocations: 113.3 kB / 3.535 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003102/7.237, allocations: 0.606 MB / 3.535 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/7.238, allocations: 70.41 kB / 3.535 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/7.238, allocations: 20.22 kB / 3.535 GB, free: 235.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/7.238, allocations: 5.719 kB / 3.535 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000637/7.238, allocations: 395.3 kB / 3.536 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/7.238, allocations: 6.812 kB / 3.536 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-06/7.238, allocations: 5.5 kB / 3.536 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/7.239, allocations: 103.4 kB / 3.536 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/7.239, allocations: 11.11 kB / 3.536 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/7.239, allocations: 60.12 kB / 3.536 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/7.239, allocations: 19.8 kB / 3.536 GB, free: 235.6 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 (53): * Single equations (assignments): 52 * 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.0001246/7.24, allocations: 120 kB / 3.536 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/7.24, allocations: 59.05 kB / 3.536 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/7.241, allocations: 455.4 kB / 3.537 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/7.241, allocations: 2.875 kB / 3.537 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/7.241, allocations: 6.156 kB / 3.537 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006088/7.241, allocations: 0.683 MB / 3.537 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/7.243, allocations: 1.205 MB / 3.538 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/7.243, allocations: 2.938 kB / 3.538 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/7.244, allocations: 112.7 kB / 3.539 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/7.244, allocations: 6.281 kB / 3.539 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/7.244, allocations: 7.406 kB / 3.539 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002199/7.244, allocations: 0.5977 MB / 3.539 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/7.244, allocations: 6.562 kB / 3.539 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009994/7.245, allocations: 0.9124 MB / 3.54 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001559/7.246, allocations: 1.577 MB / 3.542 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/7.247, allocations: 177.6 kB / 3.542 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/7.247, allocations: 6.5 kB / 3.542 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/7.247, allocations: 52.91 kB / 3.542 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/7.247, allocations: 33.77 kB / 3.542 GB, free: 231.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/7.247, allocations: 19.98 kB / 3.542 GB, free: 231.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003263/7.248, allocations: 286.8 kB / 3.542 GB, free: 231.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003235/7.251, allocations: 0.7582 MB / 3.543 GB, free: 231 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.001959/7.253, allocations: 1.556 MB / 3.544 GB, free: 230.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001256/7.254, allocations: 0.6085 MB / 3.545 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/7.254, allocations: 0 / 3.545 GB, free: 230.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/7.255, allocations: 204.6 kB / 3.545 GB, free: 230.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/7.256, allocations: 314.9 kB / 3.546 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/7.258, allocations: 1.096 MB / 3.547 GB, free: 229.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/7.259, allocations: 1.027 MB / 3.548 GB, free: 229.1 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/7.259, allocations: 0 / 3.548 GB, free: 229.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)