Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001494/0.001495, allocations: 189.3 kB / 366.3 MB, free: 1.992 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.614/1.614, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009701/0.0009703, allocations: 83.25 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.217e-06, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6928, allocations: 116.3 MB / 0.9726 GB, free: 68.55 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/5.225, allocations: 2.064 GB / 3.036 GB, free: 12.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/5.225, allocations: 83.95 kB / 3.037 GB, free: 12.31 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.179/6.404, allocations: 303.3 MB / 3.333 GB, free: 89.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.282e-05/6.405, allocations: 8 kB / 3.333 GB, free: 89.73 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001503/6.406, allocations: 0.7207 MB / 3.333 GB, free: 88.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/6.406, allocations: 8.031 kB / 3.334 GB, free: 88.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/6.407, allocations: 135.3 kB / 3.334 GB, free: 88.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/6.408, allocations: 338 kB / 3.334 GB, free: 88.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/6.408, allocations: 46.34 kB / 3.334 GB, free: 88.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/6.408, allocations: 19.94 kB / 3.334 GB, free: 88.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003564/6.408, allocations: 209.3 kB / 3.334 GB, free: 88.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/6.409, allocations: 298 kB / 3.335 GB, free: 87.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/6.409, allocations: 0 / 3.335 GB, free: 87.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/6.409, allocations: 0 / 3.335 GB, free: 87.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/6.409, allocations: 11.94 kB / 3.335 GB, free: 87.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/6.41, allocations: 1.427 MB / 3.336 GB, free: 86.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/6.411, allocations: 170.6 kB / 3.336 GB, free: 86.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/6.411, allocations: 100.8 kB / 3.336 GB, free: 86.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008081/6.411, allocations: 0.5014 MB / 3.337 GB, free: 85.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/6.411, allocations: 34.56 kB / 3.337 GB, free: 85.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/6.411, allocations: 3.938 kB / 3.337 GB, free: 85.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0009375/6.412, allocations: 282 kB / 3.337 GB, free: 85.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/6.412, allocations: 51.41 kB / 3.337 GB, free: 85.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/6.413, allocations: 197 kB / 3.337 GB, free: 84.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/6.413, allocations: 29.7 kB / 3.337 GB, free: 84.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/6.413, allocations: 168 kB / 3.337 GB, free: 84.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/6.413, allocations: 47.2 kB / 3.337 GB, free: 84.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/6.413, allocations: 0 / 3.337 GB, free: 84.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/6.413, allocations: 338.8 kB / 3.338 GB, free: 84.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/6.413, allocations: 67.92 kB / 3.338 GB, free: 84.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/6.413, allocations: 143.6 kB / 3.338 GB, free: 84.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/6.414, allocations: 131.9 kB / 3.338 GB, free: 83.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/6.414, allocations: 0 / 3.338 GB, free: 83.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006563/6.414, allocations: 289.1 kB / 3.338 GB, free: 83.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/6.414, allocations: 8 kB / 3.338 GB, free: 83.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/6.414, allocations: 0 / 3.338 GB, free: 83.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/6.414, allocations: 7.906 kB / 3.338 GB, free: 83.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/6.415, allocations: 43.91 kB / 3.338 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/6.415, allocations: 8.188 kB / 3.338 GB, free: 83.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/6.415, allocations: 27.83 kB / 3.338 GB, free: 83.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/6.415, allocations: 15.98 kB / 3.338 GB, free: 83.5 MB / 0.948 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 8.305e-05/6.415, allocations: 111 kB / 3.339 GB, free: 83.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/6.415, allocations: 27.72 kB / 3.339 GB, free: 83.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/6.416, allocations: 321.2 kB / 3.339 GB, free: 83.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/6.416, allocations: 7.906 kB / 3.339 GB, free: 83.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/6.416, allocations: 0 / 3.339 GB, free: 83.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/6.416, allocations: 3.938 kB / 3.339 GB, free: 83.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/6.418, allocations: 1.238 MB / 3.34 GB, free: 81.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/6.418, allocations: 4 kB / 3.34 GB, free: 81.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/6.418, allocations: 39.91 kB / 3.34 GB, free: 81.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/6.418, allocations: 4 kB / 3.34 GB, free: 81.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/6.418, allocations: 11.98 kB / 3.34 GB, free: 81.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/6.418, allocations: 4 kB / 3.34 GB, free: 81.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/6.418, allocations: 224 / 3.34 GB, free: 81.57 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005357/6.419, allocations: 0.5305 MB / 3.341 GB, free: 80.92 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/6.419, allocations: 136.7 kB / 3.341 GB, free: 80.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/6.419, allocations: 4 kB / 3.341 GB, free: 80.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/6.419, allocations: 31.88 kB / 3.341 GB, free: 80.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/6.419, allocations: 15.92 kB / 3.341 GB, free: 80.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/6.419, allocations: 16 kB / 3.341 GB, free: 80.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.715e-05/6.419, allocations: 153.2 kB / 3.341 GB, free: 80.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008081/6.42, allocations: 203.6 kB / 3.341 GB, free: 80.36 MB / 0.948 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.001857/6.422, allocations: 1.402 MB / 3.343 GB, free: 78.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003032/6.422, allocations: 185.4 kB / 3.343 GB, free: 78.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/6.422, allocations: 0 / 3.343 GB, free: 78.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/6.422, allocations: 100.8 kB / 3.343 GB, free: 78.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/6.423, allocations: 89.03 kB / 3.343 GB, free: 78.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/6.424, allocations: 423 kB / 3.343 GB, free: 78.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/6.424, allocations: 0.8333 MB / 3.344 GB, free: 77.23 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/6.424, allocations: 4 kB / 3.344 GB, free: 77.23 MB / 0.948 GB Notification: Performance of Templates: time 0.01791/6.442, allocations: 12.23 MB / 3.356 GB, free: 65.04 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)