Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 187.5 kB / 7.803 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4555/0.4555, allocations: 90.85 MB / 99.07 MB, free: 14.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 342.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 89.33 kB / 415.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/9.137e-06, allocations: 4 kB / 493.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.132/3.499, allocations: 1.82 GB / 2.372 GB, free: 237.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/3.5, allocations: 83.17 kB / 2.373 GB, free: 237.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.3919/3.892, allocations: 224 MB / 2.591 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.973e-05/3.892, allocations: 12 kB / 2.591 GB, free: 15.25 MB / 0.6042 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.0008703/3.893, allocations: 0.607 MB / 2.592 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/3.893, allocations: 8.031 kB / 2.592 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006998/3.893, allocations: 87.61 kB / 2.592 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/3.894, allocations: 295.3 kB / 2.592 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/3.894, allocations: 8 kB / 2.592 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/3.894, allocations: 15.91 kB / 2.592 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002412/3.894, allocations: 155.9 kB / 2.592 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/3.894, allocations: 232.5 kB / 2.593 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/3.894, allocations: 4 kB / 2.593 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/3.894, allocations: 0 / 2.593 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/3.894, allocations: 7.938 kB / 2.593 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/3.896, allocations: 1.441 MB / 2.594 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/3.896, allocations: 149 kB / 2.594 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/3.896, allocations: 68.41 kB / 2.594 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/3.896, allocations: 117.1 kB / 2.594 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/3.896, allocations: 50.5 kB / 2.594 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/3.896, allocations: 0 / 2.594 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004064/3.897, allocations: 133.4 kB / 2.595 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/3.897, allocations: 162.2 kB / 2.595 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/3.897, allocations: 208 kB / 2.595 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/3.897, allocations: 25.7 kB / 2.595 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/3.897, allocations: 155.9 kB / 2.595 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/3.897, allocations: 31.55 kB / 2.595 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/3.897, allocations: 0 / 2.595 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/3.897, allocations: 330.7 kB / 2.595 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/3.897, allocations: 55.97 kB / 2.595 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/3.897, allocations: 138.2 kB / 2.596 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/3.897, allocations: 91.91 kB / 2.596 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/3.897, allocations: 4 kB / 2.596 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004348/3.898, allocations: 229.1 kB / 2.596 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/3.898, allocations: 6.031 kB / 2.596 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/3.898, allocations: 4 kB / 2.596 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/3.898, allocations: 4.25 kB / 2.596 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/3.898, allocations: 39.98 kB / 2.596 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/3.898, allocations: 7.844 kB / 2.596 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/3.898, allocations: 31.81 kB / 2.596 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/3.898, allocations: 16 kB / 2.596 GB, free: 9.945 MB / 0.6042 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 5.274e-05/3.898, allocations: 107.7 kB / 2.596 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/3.899, allocations: 15.81 kB / 2.596 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/3.899, allocations: 127.2 kB / 2.596 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/3.899, allocations: 4 kB / 2.596 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/3.899, allocations: 0 / 2.596 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/3.899, allocations: 4 kB / 2.596 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/3.9, allocations: 0.7933 MB / 2.597 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/3.9, allocations: 4 kB / 2.597 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/3.9, allocations: 35.91 kB / 2.597 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/3.9, allocations: 8.156 kB / 2.597 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/3.9, allocations: 0 / 2.597 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/3.9, allocations: 4 kB / 2.597 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/3.9, allocations: 0 / 2.597 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003456/3.9, allocations: 367.8 kB / 2.597 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/3.9, allocations: 116.8 kB / 2.598 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/3.9, allocations: 0 / 2.598 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/3.9, allocations: 20.05 kB / 2.598 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/3.9, allocations: 15.92 kB / 2.598 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/3.9, allocations: 4 kB / 2.598 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.881e-05/3.901, allocations: 160.5 kB / 2.598 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005434/3.901, allocations: 175.7 kB / 2.598 GB, free: 7.863 MB / 0.6042 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.00111/3.902, allocations: 1.17 MB / 2.599 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001789/3.902, allocations: 108.3 kB / 2.599 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/3.902, allocations: 8 kB / 2.599 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/3.903, allocations: 43.92 kB / 2.599 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/3.903, allocations: 58.64 kB / 2.599 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/3.903, allocations: 352.8 kB / 2.6 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/3.904, allocations: 0.7824 MB / 2.6 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/3.904, allocations: 4 kB / 2.6 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of Templates: time 0.2266/4.13, allocations: 9.704 MB / 2.61 GB, free: 205.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)