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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") [: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.48/1.48, 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.001391/0.001391, 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.526/1.526, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0009339/0.0009339, allocations: 92.19 kB / 0.7325 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.281e-05/1.292e-05, allocations: 7.938 kB / 0.8511 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7693, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.143/4.912, allocations: 2.079 GB / 3.043 GB, free: 47.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/4.913, allocations: 89.83 kB / 3.043 GB, free: 47.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.9/6.812, allocations: 483 MB / 3.515 GB, free: 234.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.871e-05/6.812, allocations: 20.33 kB / 3.515 GB, free: 234.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 0.002829/6.815, allocations: 1.032 MB / 3.516 GB, free: 234.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/6.815, allocations: 7.969 kB / 3.516 GB, free: 234.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/6.818, allocations: 294.3 kB / 3.516 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/6.819, allocations: 0.6322 MB / 3.517 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/6.819, allocations: 17.78 kB / 3.517 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/6.819, allocations: 34.81 kB / 3.517 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009086/6.82, allocations: 496.7 kB / 3.517 GB, free: 233.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/6.821, allocations: 0.5511 MB / 3.518 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/6.821, allocations: 7.453 kB / 3.518 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/6.821, allocations: 0 / 3.518 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/6.821, allocations: 24.31 kB / 3.518 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/6.825, allocations: 2.449 MB / 3.52 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/6.825, allocations: 389.6 kB / 3.52 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/6.825, allocations: 234.2 kB / 3.521 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/6.826, allocations: 478.9 kB / 3.521 GB, free: 232.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/6.826, allocations: 34.25 kB / 3.521 GB, free: 232 MB / 0.948 GB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/6.826, allocations: 3.5 kB / 3.521 GB, free: 232 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.001423/6.828, allocations: 479 kB / 3.522 GB, free: 232 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/6.828, allocations: 54.88 kB / 3.522 GB, free: 231.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/6.828, allocations: 359.9 kB / 3.522 GB, free: 231.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/6.828, allocations: 25.7 kB / 3.522 GB, free: 231.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/6.828, allocations: 260.3 kB / 3.522 GB, free: 231.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/6.828, allocations: 136.2 kB / 3.522 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/6.828, allocations: 0 / 3.522 GB, free: 231.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/6.828, allocations: 362.4 kB / 3.523 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/6.829, allocations: 141.9 kB / 3.523 GB, free: 231.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/6.829, allocations: 266.5 kB / 3.523 GB, free: 231.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/6.829, allocations: 218.3 kB / 3.523 GB, free: 231.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/6.829, allocations: 3.906 kB / 3.523 GB, free: 231.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007649/6.83, allocations: 485.5 kB / 3.524 GB, free: 231 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/6.83, allocations: 0.8799 MB / 3.525 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/6.83, allocations: 9.484 kB / 3.525 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/6.83, allocations: 3.75 kB / 3.525 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/6.831, allocations: 113.7 kB / 3.525 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/6.832, allocations: 0.6048 MB / 3.525 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/6.832, allocations: 70.44 kB / 3.525 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/6.833, allocations: 19.03 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/6.833, allocations: 2.281 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00072/6.833, allocations: 401.2 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/6.833, allocations: 3.25 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/6.833, allocations: 3.938 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/6.834, allocations: 106.5 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/6.834, allocations: 3.844 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/6.834, allocations: 71.11 kB / 3.526 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/6.834, allocations: 16.84 kB / 3.526 GB, free: 229.5 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.000131/6.835, allocations: 118.4 kB / 3.526 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/6.835, allocations: 57.41 kB / 3.526 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007917/6.836, allocations: 454.2 kB / 3.527 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/6.836, allocations: 11.62 kB / 3.527 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/6.836, allocations: 0 / 3.527 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006485/6.836, allocations: 0.6774 MB / 3.527 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/6.838, allocations: 1.213 MB / 3.529 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/6.838, allocations: 3.156 kB / 3.529 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/6.839, allocations: 113.8 kB / 3.529 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/6.839, allocations: 4.531 kB / 3.529 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/6.839, allocations: 10.28 kB / 3.529 GB, free: 228.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002109/6.839, allocations: 0.5978 MB / 3.529 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/6.839, allocations: 7.25 kB / 3.529 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001028/6.84, allocations: 0.9012 MB / 3.53 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/6.84, allocations: 178.7 kB / 3.53 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/6.841, allocations: 7.5 kB / 3.53 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/6.841, allocations: 57.59 kB / 3.53 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/6.841, allocations: 25.14 kB / 3.53 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/6.841, allocations: 17.41 kB / 3.53 GB, free: 227.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003298/6.842, allocations: 283.7 kB / 3.531 GB, free: 227.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001679/6.843, allocations: 445.1 kB / 3.531 GB, free: 227.3 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.002934/6.846, allocations: 1.555 MB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001396/6.848, allocations: 0.6062 MB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/6.848, allocations: 0 / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/6.848, allocations: 209.9 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/6.85, allocations: 317.3 kB / 3.534 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/6.853, allocations: 1.092 MB / 3.535 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/6.853, allocations: 1.012 MB / 3.536 GB, free: 225.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/6.853, allocations: 0 / 3.536 GB, free: 225.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03746/6.891, allocations: 20.57 MB / 3.556 GB, free: 225.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)