Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.309/2.309, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002206/0.002206, allocations: 177.3 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.1 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 98.86 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.175e-05/1.194e-05, allocations: 4 kB / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.676, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.746, allocations: 2.079 GB / 3.042 GB, free: 271 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003951/5.746, allocations: 87.98 kB / 3.042 GB, free: 271 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.055/7.801, allocations: 483 MB / 3.514 GB, free: 220.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.113e-05/7.801, allocations: 20.09 kB / 3.514 GB, free: 220.3 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.00292/7.804, allocations: 1.034 MB / 3.515 GB, free: 219.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/7.804, allocations: 17.89 kB / 3.515 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/7.807, allocations: 289.7 kB / 3.515 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/7.81, allocations: 0.6281 MB / 3.516 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/7.81, allocations: 20.75 kB / 3.516 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/7.81, allocations: 33.53 kB / 3.516 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/7.811, allocations: 499.6 kB / 3.516 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/7.813, allocations: 0.5616 MB / 3.517 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/7.813, allocations: 0 / 3.517 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/7.813, allocations: 1.25 kB / 3.517 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/7.813, allocations: 19.78 kB / 3.517 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00516/7.818, allocations: 2.452 MB / 3.519 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/7.819, allocations: 394.5 kB / 3.519 GB, free: 216 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/7.82, allocations: 234.3 kB / 3.52 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009385/7.821, allocations: 476.2 kB / 3.52 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/7.821, allocations: 36.94 kB / 3.52 GB, free: 215.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=41): time 3.056e-06/7.821, allocations: 0 / 3.52 GB, free: 215.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.002444/7.823, allocations: 488 kB / 3.521 GB, free: 215.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/7.823, allocations: 54.91 kB / 3.521 GB, free: 215.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/7.824, allocations: 360 kB / 3.521 GB, free: 214.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/7.824, allocations: 26.89 kB / 3.521 GB, free: 214.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/7.824, allocations: 251.4 kB / 3.521 GB, free: 214.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/7.824, allocations: 142 kB / 3.521 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/7.824, allocations: 0 / 3.521 GB, free: 214.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001202/7.825, allocations: 369.8 kB / 3.522 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/7.825, allocations: 138.7 kB / 3.522 GB, free: 214.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/7.825, allocations: 277.1 kB / 3.522 GB, free: 213.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/7.826, allocations: 202 kB / 3.522 GB, free: 213.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/7.826, allocations: 0.9688 kB / 3.522 GB, free: 213.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001447/7.828, allocations: 489.9 kB / 3.523 GB, free: 213.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/7.828, allocations: 0.8756 MB / 3.524 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/7.828, allocations: 2.75 kB / 3.524 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/7.828, allocations: 7.906 kB / 3.524 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/7.829, allocations: 121.7 kB / 3.524 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005712/7.83, allocations: 0.5959 MB / 3.524 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/7.831, allocations: 67.58 kB / 3.524 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/7.831, allocations: 19.34 kB / 3.524 GB, free: 211.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/7.831, allocations: 6.75 kB / 3.524 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001234/7.833, allocations: 406 kB / 3.525 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/7.833, allocations: 2.469 kB / 3.525 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/7.833, allocations: 4.875 kB / 3.525 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000882/7.834, allocations: 104.3 kB / 3.525 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/7.834, allocations: 13.05 kB / 3.525 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/7.835, allocations: 62.33 kB / 3.525 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/7.835, allocations: 17.06 kB / 3.525 GB, free: 211.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.0002188/7.835, allocations: 117.6 kB / 3.525 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/7.835, allocations: 53.31 kB / 3.525 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/7.837, allocations: 455 kB / 3.526 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/7.837, allocations: 8 kB / 3.526 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/7.837, allocations: 0 / 3.526 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/7.838, allocations: 0.6906 MB / 3.526 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/7.841, allocations: 1.207 MB / 3.528 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/7.841, allocations: 0 / 3.528 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/7.842, allocations: 119.8 kB / 3.528 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/7.842, allocations: 4.281 kB / 3.528 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/7.842, allocations: 8 kB / 3.528 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/7.843, allocations: 0.5976 MB / 3.528 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/7.843, allocations: 4.031 kB / 3.528 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001715/7.844, allocations: 0.9098 MB / 3.529 GB, free: 207.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/7.845, allocations: 180.3 kB / 3.529 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/7.845, allocations: 7.984 kB / 3.529 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/7.846, allocations: 43.88 kB / 3.529 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/7.846, allocations: 27.95 kB / 3.529 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/7.846, allocations: 16 kB / 3.529 GB, free: 206.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005166/7.847, allocations: 286.9 kB / 3.53 GB, free: 206.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001939/7.849, allocations: 446.9 kB / 3.53 GB, free: 206.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.002682/7.851, allocations: 1.565 MB / 3.532 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002065/7.853, allocations: 0.6042 MB / 3.532 GB, free: 204.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/7.853, allocations: 0 / 3.532 GB, free: 204.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/7.854, allocations: 199.8 kB / 3.532 GB, free: 204 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/7.857, allocations: 319.2 kB / 3.533 GB, free: 203.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/7.863, allocations: 1.088 MB / 3.534 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/7.865, allocations: 1.015 MB / 3.535 GB, free: 201.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.094e-06/7.865, allocations: 0 / 3.535 GB, free: 201.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06046/7.925, allocations: 20.58 MB / 3.555 GB, free: 181.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)