Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [: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.539/1.539, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001139/0.001139, allocations: 173.3 kB / 366.3 MB, free: 1.953 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.617/1.617, allocations: 205.1 MB / 0.6256 GB, free: 7.422 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.001007/0.001007, allocations: 88.31 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.957e-06, allocations: 4 kB / 0.859 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 116.3 MB / 0.9726 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.084/4.731, allocations: 2.062 GB / 3.034 GB, free: 43.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/4.732, allocations: 89.16 kB / 3.034 GB, free: 43.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9634/5.695, allocations: 221.9 MB / 3.251 GB, free: 202.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.458e-05/5.695, allocations: 12 kB / 3.251 GB, free: 202.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009749/5.696, allocations: 0.6124 MB / 3.252 GB, free: 202 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/5.696, allocations: 8.031 kB / 3.252 GB, free: 202 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006886/5.697, allocations: 91.52 kB / 3.252 GB, free: 201.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/5.697, allocations: 295.3 kB / 3.252 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/5.697, allocations: 8 kB / 3.252 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/5.697, allocations: 12 kB / 3.252 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002578/5.698, allocations: 148 kB / 3.252 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/5.698, allocations: 244.4 kB / 3.252 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/5.698, allocations: 0 / 3.252 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/5.698, allocations: 0 / 3.252 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/5.698, allocations: 7.984 kB / 3.252 GB, free: 201.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/5.699, allocations: 1.446 MB / 3.254 GB, free: 199.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/5.7, allocations: 133.1 kB / 3.254 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/5.7, allocations: 72.34 kB / 3.254 GB, free: 199.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/5.7, allocations: 121.1 kB / 3.254 GB, free: 199.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/5.7, allocations: 38.56 kB / 3.254 GB, free: 199.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/5.7, allocations: 3.938 kB / 3.254 GB, free: 199.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004398/5.7, allocations: 141.3 kB / 3.254 GB, free: 199 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/5.7, allocations: 166.2 kB / 3.255 GB, free: 198.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/5.701, allocations: 207.9 kB / 3.255 GB, free: 198.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/5.701, allocations: 25.7 kB / 3.255 GB, free: 198.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/5.701, allocations: 148 kB / 3.255 GB, free: 198.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/5.701, allocations: 39.45 kB / 3.255 GB, free: 198.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/5.701, allocations: 0 / 3.255 GB, free: 198.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.019e-05/5.701, allocations: 322.8 kB / 3.255 GB, free: 198 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/5.701, allocations: 59.97 kB / 3.255 GB, free: 197.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/5.701, allocations: 134.2 kB / 3.255 GB, free: 197.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/5.701, allocations: 99.91 kB / 3.256 GB, free: 197.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/5.701, allocations: 4 kB / 3.256 GB, free: 197.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004459/5.702, allocations: 221.1 kB / 3.256 GB, free: 197.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/5.702, allocations: 8.25 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/5.702, allocations: 4 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/5.702, allocations: 4 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/5.702, allocations: 39.98 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/5.702, allocations: 3.938 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/5.702, allocations: 35.81 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/5.702, allocations: 8 kB / 3.256 GB, free: 197.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.183e-05/5.702, allocations: 105 kB / 3.256 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/5.702, allocations: 19.72 kB / 3.256 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/5.703, allocations: 123.3 kB / 3.256 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/5.703, allocations: 4 kB / 3.256 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.703, allocations: 3.938 kB / 3.256 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/5.703, allocations: 11.98 kB / 3.256 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/5.703, allocations: 0.793 MB / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/5.703, allocations: 4.25 kB / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/5.704, allocations: 40.06 kB / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/5.704, allocations: 4 kB / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/5.704, allocations: 0 / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/5.704, allocations: 4 kB / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/5.704, allocations: 0 / 3.257 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003624/5.704, allocations: 359.9 kB / 3.257 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/5.704, allocations: 112.9 kB / 3.257 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/5.704, allocations: 8.062 kB / 3.257 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/5.704, allocations: 19.92 kB / 3.257 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/5.704, allocations: 7.984 kB / 3.257 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/5.704, allocations: 8 kB / 3.257 GB, free: 195.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.998e-05/5.704, allocations: 160.5 kB / 3.258 GB, free: 195.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006452/5.705, allocations: 179.8 kB / 3.258 GB, free: 195.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001279/5.706, allocations: 1.174 MB / 3.259 GB, free: 194.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000201/5.707, allocations: 115.8 kB / 3.259 GB, free: 194 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/5.707, allocations: 0 / 3.259 GB, free: 194 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/5.707, allocations: 39.92 kB / 3.259 GB, free: 193.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/5.707, allocations: 53.44 kB / 3.259 GB, free: 193.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/5.708, allocations: 364 kB / 3.259 GB, free: 193.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/5.708, allocations: 0.7941 MB / 3.26 GB, free: 192.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.708, allocations: 0 / 3.26 GB, free: 192.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01334/5.721, allocations: 9.679 MB / 3.27 GB, free: 183 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)