Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [: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.33/2.33, allocations: 284.9 MB / 292.2 MB, free: 9.844 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.003167/0.003166, allocations: 185.3 kB / 360.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.2 MB / 0.6188 GB, free: 3.285 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 89.2 kB / 0.7318 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.151e-05/1.168e-05, allocations: 2.75 kB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2552, allocations: 115.2 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.11/5.365, allocations: 2.063 GB / 3.026 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/5.365, allocations: 94.34 kB / 3.026 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.425/6.791, allocations: 303.3 MB / 3.322 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.542e-05/6.791, allocations: 8 kB / 3.322 GB, free: 247.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001666/6.793, allocations: 0.7153 MB / 3.323 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/6.793, allocations: 12.52 kB / 3.323 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/6.794, allocations: 139.3 kB / 3.323 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/6.795, allocations: 341.4 kB / 3.323 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/6.795, allocations: 46.36 kB / 3.323 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/6.795, allocations: 16 kB / 3.323 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006196/6.796, allocations: 209.2 kB / 3.323 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/6.797, allocations: 298 kB / 3.324 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/6.797, allocations: 0 / 3.324 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/6.797, allocations: 3.938 kB / 3.324 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/6.797, allocations: 11.91 kB / 3.324 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/6.799, allocations: 1.414 MB / 3.325 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/6.8, allocations: 170.5 kB / 3.325 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/6.8, allocations: 96.81 kB / 3.325 GB, free: 244 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/6.801, allocations: 0.501 MB / 3.326 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/6.801, allocations: 42.56 kB / 3.326 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 2.996e-06/6.801, allocations: 0 / 3.326 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.001586/6.803, allocations: 285.4 kB / 3.326 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/6.803, allocations: 51.41 kB / 3.326 GB, free: 243 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/6.803, allocations: 189.1 kB / 3.326 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/6.803, allocations: 29.7 kB / 3.326 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/6.803, allocations: 171.9 kB / 3.326 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/6.803, allocations: 51.3 kB / 3.327 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/6.803, allocations: 0 / 3.327 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/6.804, allocations: 338.7 kB / 3.327 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/6.804, allocations: 71.89 kB / 3.327 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/6.804, allocations: 136.6 kB / 3.327 GB, free: 242 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/6.805, allocations: 141.4 kB / 3.327 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/6.805, allocations: 0 / 3.327 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001228/6.806, allocations: 285.1 kB / 3.327 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/6.806, allocations: 12.19 kB / 3.327 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/6.806, allocations: 0 / 3.327 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/6.806, allocations: 4 kB / 3.327 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/6.807, allocations: 43.92 kB / 3.328 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/6.807, allocations: 7.984 kB / 3.328 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/6.807, allocations: 27.89 kB / 3.328 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/6.807, allocations: 8 kB / 3.328 GB, free: 241.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/6.807, allocations: 112.9 kB / 3.328 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/6.807, allocations: 27.7 kB / 3.328 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/6.809, allocations: 319.2 kB / 3.328 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/6.809, allocations: 7.984 kB / 3.328 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/6.809, allocations: 0 / 3.328 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/6.809, allocations: 0 / 3.328 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/6.812, allocations: 1.238 MB / 3.329 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/6.812, allocations: 4 kB / 3.329 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/6.812, allocations: 44.27 kB / 3.329 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/6.812, allocations: 4 kB / 3.329 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/6.812, allocations: 11.98 kB / 3.329 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/6.812, allocations: 4 kB / 3.329 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/6.812, allocations: 3.938 kB / 3.329 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009847/6.813, allocations: 0.5374 MB / 3.33 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/6.814, allocations: 128.7 kB / 3.33 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/6.814, allocations: 7.984 kB / 3.33 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/6.814, allocations: 23.98 kB / 3.33 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/6.814, allocations: 15.98 kB / 3.33 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/6.814, allocations: 15.98 kB / 3.33 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001712/6.815, allocations: 153.2 kB / 3.33 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001052/6.816, allocations: 211.5 kB / 3.33 GB, free: 238.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002344/6.818, allocations: 1.405 MB / 3.332 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005976/6.819, allocations: 183.8 kB / 3.332 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/6.819, allocations: 0 / 3.332 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/6.819, allocations: 99.81 kB / 3.332 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/6.82, allocations: 91.75 kB / 3.332 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/6.821, allocations: 427.1 kB / 3.332 GB, free: 236.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/6.822, allocations: 0.8216 MB / 3.333 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.653e-06/6.822, allocations: 0 / 3.333 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.03042/6.852, allocations: 12.22 MB / 3.345 GB, free: 223.2 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)