Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009407/0.0009407, allocations: 185.3 kB / 361.1 MB, free: 7.102 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.173/1.173, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.001005/0.001005, allocations: 84.77 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2458/0.2469, allocations: 121.4 MB / 0.8512 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.8004, allocations: 115.3 MB / 0.9638 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.565/4.366, allocations: 2.079 GB / 3.043 GB, free: 52.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/4.366, allocations: 93.58 kB / 3.043 GB, free: 52.12 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.593/5.959, allocations: 484 MB / 3.516 GB, free: 229.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/5.959, allocations: 8.312 kB / 3.516 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/5.961, allocations: 293.9 kB / 3.516 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/5.962, allocations: 0.6371 MB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/5.962, allocations: 15.38 kB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/5.962, allocations: 34.28 kB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006872/5.963, allocations: 497.5 kB / 3.517 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/5.963, allocations: 0.5532 MB / 3.518 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/5.964, allocations: 3.875 kB / 3.518 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/5.964, allocations: 0 / 3.518 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/5.964, allocations: 23.06 kB / 3.518 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/5.966, allocations: 2.448 MB / 3.52 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/5.966, allocations: 392.4 kB / 3.521 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/5.967, allocations: 241.9 kB / 3.521 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/5.967, allocations: 479 kB / 3.521 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/5.967, allocations: 34.06 kB / 3.521 GB, free: 227.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/5.967, allocations: 2.719 kB / 3.521 GB, free: 227.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.001197/5.969, allocations: 477.6 kB / 3.522 GB, free: 227.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/5.969, allocations: 55.22 kB / 3.522 GB, free: 227.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/5.969, allocations: 370.7 kB / 3.522 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/5.969, allocations: 25.7 kB / 3.522 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/5.969, allocations: 246 kB / 3.522 GB, free: 227.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/5.969, allocations: 142.2 kB / 3.523 GB, free: 227.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/5.969, allocations: 3.938 kB / 3.523 GB, free: 227.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/5.969, allocations: 358.9 kB / 3.523 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/5.969, allocations: 141.3 kB / 3.523 GB, free: 226.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/5.97, allocations: 267.1 kB / 3.523 GB, free: 226.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/5.97, allocations: 211.4 kB / 3.523 GB, free: 226.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/5.97, allocations: 6.969 kB / 3.523 GB, free: 226.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006338/5.971, allocations: 482 kB / 3.524 GB, free: 226.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/5.971, allocations: 0.8866 MB / 3.525 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/5.971, allocations: 2.109 kB / 3.525 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/5.971, allocations: 3.812 kB / 3.525 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/5.971, allocations: 117.8 kB / 3.525 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002766/5.972, allocations: 0.6018 MB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/5.972, allocations: 76.12 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/5.972, allocations: 18.81 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/5.972, allocations: 3.812 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005639/5.973, allocations: 396.2 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/5.973, allocations: 7.125 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/5.973, allocations: 3.719 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/5.973, allocations: 105.8 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/5.973, allocations: 8.469 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/5.974, allocations: 63.84 kB / 3.526 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/5.974, allocations: 18.28 kB / 3.526 GB, free: 225.2 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 9.135e-05/5.974, allocations: 118 kB / 3.526 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/5.974, allocations: 59.77 kB / 3.526 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/5.975, allocations: 453.2 kB / 3.527 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/5.975, allocations: 10.31 kB / 3.527 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/5.975, allocations: 0 / 3.527 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000527/5.975, allocations: 0.6833 MB / 3.527 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/5.977, allocations: 1.206 MB / 3.529 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/5.977, allocations: 3.781 kB / 3.529 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/5.977, allocations: 116.4 kB / 3.529 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/5.977, allocations: 3.812 kB / 3.529 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/5.977, allocations: 3.719 kB / 3.529 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001767/5.978, allocations: 0.6039 MB / 3.529 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/5.978, allocations: 4.438 kB / 3.529 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008535/5.978, allocations: 0.9103 MB / 3.53 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001384/5.98, allocations: 1.574 MB / 3.532 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/5.98, allocations: 178 kB / 3.532 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/5.98, allocations: 3.656 kB / 3.532 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/5.981, allocations: 49.25 kB / 3.532 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/5.981, allocations: 30.41 kB / 3.532 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/5.981, allocations: 15.59 kB / 3.532 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002468/5.981, allocations: 278 kB / 3.532 GB, free: 222.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002635/5.984, allocations: 0.7638 MB / 3.533 GB, free: 222.2 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.001469/5.985, allocations: 1.574 MB / 3.535 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009642/5.986, allocations: 0.604 MB / 3.535 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/5.986, allocations: 2.75 kB / 3.535 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/5.986, allocations: 206.4 kB / 3.535 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/5.988, allocations: 309.7 kB / 3.536 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/5.989, allocations: 1.094 MB / 3.537 GB, free: 221.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/5.99, allocations: 1.029 MB / 3.538 GB, free: 220.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/5.99, allocations: 3.75 kB / 3.538 GB, free: 220.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)