Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7691/0.7691, allocations: 141.8 MB / 149.1 MB, free: 11.72 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 178.6 kB / 181.9 MB, free: 8.52 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.4 MB / 436 MB, free: 0.75 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009899, allocations: 97.14 kB / 0.507 GB, free: 9.727 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 271.8 kB / 0.5884 GB, free: 6.551 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.297e-06, allocations: 1.531 kB / 0.6759 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1929, allocations: 82.79 MB / 0.7567 GB, free: 116.8 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.636/3.829, allocations: 1.826 GB / 2.583 GB, free: 3.832 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/3.829, allocations: 80.66 kB / 2.583 GB, free: 3.754 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.8208/4.65, allocations: 224.1 MB / 2.802 GB, free: 78.32 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 3.4e-05/4.65, allocations: 12 kB / 2.802 GB, free: 78.31 MB / 0.7138 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.001326/4.652, allocations: 0.6071 MB / 2.803 GB, free: 77.66 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/4.652, allocations: 12.97 kB / 2.803 GB, free: 77.65 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/4.652, allocations: 83.52 kB / 2.803 GB, free: 77.57 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/4.653, allocations: 295.4 kB / 2.803 GB, free: 77.23 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/4.653, allocations: 12 kB / 2.803 GB, free: 77.22 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/4.653, allocations: 12 kB / 2.803 GB, free: 77.21 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002809/4.653, allocations: 149.4 kB / 2.803 GB, free: 77.07 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/4.654, allocations: 239.4 kB / 2.803 GB, free: 76.8 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/4.654, allocations: 0 / 2.803 GB, free: 76.8 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/4.654, allocations: 4 kB / 2.803 GB, free: 76.8 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/4.654, allocations: 7.938 kB / 2.803 GB, free: 76.79 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/4.656, allocations: 1.437 MB / 2.805 GB, free: 75.23 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/4.656, allocations: 137.1 kB / 2.805 GB, free: 75.05 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/4.656, allocations: 68.41 kB / 2.805 GB, free: 74.97 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/4.656, allocations: 121.1 kB / 2.805 GB, free: 74.84 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/4.656, allocations: 38.56 kB / 2.805 GB, free: 74.79 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=10): time 3.296e-06/4.656, allocations: 0 / 2.805 GB, free: 74.79 MB / 0.7138 GB Notification: Performance of matching and sorting (n=10): time 0.0005061/4.657, allocations: 145.2 kB / 2.805 GB, free: 74.64 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/4.657, allocations: 158.2 kB / 2.806 GB, free: 74.45 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/4.657, allocations: 208 kB / 2.806 GB, free: 74.24 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/4.657, allocations: 33.7 kB / 2.806 GB, free: 74.2 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/4.657, allocations: 148.1 kB / 2.806 GB, free: 74.05 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/4.657, allocations: 39.39 kB / 2.806 GB, free: 74.01 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/4.657, allocations: 0 / 2.806 GB, free: 74.01 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/4.657, allocations: 326.8 kB / 2.806 GB, free: 73.68 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/4.657, allocations: 51.91 kB / 2.806 GB, free: 73.63 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/4.657, allocations: 146.2 kB / 2.806 GB, free: 73.45 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/4.658, allocations: 92.34 kB / 2.807 GB, free: 73.36 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/4.658, allocations: 0 / 2.807 GB, free: 73.36 MB / 0.7138 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004809/4.658, allocations: 233.1 kB / 2.807 GB, free: 73.13 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/4.658, allocations: 5.875 kB / 2.807 GB, free: 73.12 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/4.658, allocations: 4 kB / 2.807 GB, free: 73.12 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/4.658, allocations: 0 / 2.807 GB, free: 73.12 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/4.658, allocations: 40.23 kB / 2.807 GB, free: 73.08 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/4.658, allocations: 11.92 kB / 2.807 GB, free: 73.07 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/4.659, allocations: 23.89 kB / 2.807 GB, free: 73.05 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/4.659, allocations: 8 kB / 2.807 GB, free: 73.04 MB / 0.7138 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.802e-05/4.659, allocations: 116.9 kB / 2.807 GB, free: 72.92 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/4.659, allocations: 19.72 kB / 2.807 GB, free: 72.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/4.659, allocations: 123.4 kB / 2.807 GB, free: 72.77 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/4.659, allocations: 4 kB / 2.807 GB, free: 72.77 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/4.659, allocations: 0 / 2.807 GB, free: 72.77 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/4.659, allocations: 0 / 2.807 GB, free: 72.77 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/4.66, allocations: 0.793 MB / 2.808 GB, free: 71.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/4.66, allocations: 7.984 kB / 2.808 GB, free: 71.91 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/4.66, allocations: 27.92 kB / 2.808 GB, free: 71.88 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/4.66, allocations: 0 / 2.808 GB, free: 71.88 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/4.66, allocations: 4.156 kB / 2.808 GB, free: 71.88 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/4.66, allocations: 4 kB / 2.808 GB, free: 71.87 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/4.66, allocations: 7.906 kB / 2.808 GB, free: 71.86 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004152/4.661, allocations: 368 kB / 2.808 GB, free: 71.44 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/4.661, allocations: 116.7 kB / 2.808 GB, free: 71.31 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/4.661, allocations: 0 / 2.808 GB, free: 71.31 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/4.661, allocations: 16.05 kB / 2.808 GB, free: 71.29 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/4.661, allocations: 15.98 kB / 2.808 GB, free: 71.28 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/4.661, allocations: 4.094 kB / 2.808 GB, free: 71.27 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0001236/4.661, allocations: 172.4 kB / 2.809 GB, free: 71.11 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.0008105/4.662, allocations: 179.7 kB / 2.809 GB, free: 70.93 MB / 0.7138 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.00176/4.664, allocations: 1.18 MB / 2.81 GB, free: 69.75 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0002411/4.664, allocations: 111.8 kB / 2.81 GB, free: 69.64 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/4.664, allocations: 0 / 2.81 GB, free: 69.64 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/4.664, allocations: 39.94 kB / 2.81 GB, free: 69.61 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/4.664, allocations: 61.28 kB / 2.81 GB, free: 69.55 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/4.665, allocations: 344.6 kB / 2.81 GB, free: 69.17 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/4.665, allocations: 0.7824 MB / 2.811 GB, free: 68.36 MB / 0.7138 GB Notification: Performance of SimCode: time 2.5e-07/4.665, allocations: 8 kB / 2.811 GB, free: 68.36 MB / 0.7138 GB Notification: Performance of Templates: time 0.01495/4.68, allocations: 9.717 MB / 2.821 GB, free: 58.67 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)