Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [: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 3.2.2+maint.om/package.mo): time 0.001093/0.001093, allocations: 195.9 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.115/1.115, allocations: 194.2 MB / 202.8 MB, free: 8.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001783/0.001783, allocations: 121.1 kB / 247.7 MB, free: 6.422 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.231e-06/6.251e-06, allocations: 0 / 297.6 MB, free: 8.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07326/0.07328, allocations: 44.48 MB / 342 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.364/9.437, allocations: 6.543 GB / 6.877 GB, free: 111.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/9.437, allocations: 72.45 kB / 6.877 GB, free: 111.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.5617/9.999, allocations: 176.4 MB / 7.049 GB, free: 54.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/9.999, allocations: 8.766 kB / 7.049 GB, free: 54.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003728/10, allocations: 1.08 MB / 7.05 GB, free: 53.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/10, allocations: 11.75 kB / 7.05 GB, free: 53.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/10, allocations: 8.844 kB / 7.05 GB, free: 53.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/10, allocations: 188.4 kB / 7.05 GB, free: 53.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/10, allocations: 5.406 kB / 7.05 GB, free: 53.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/10, allocations: 3.812 kB / 7.05 GB, free: 53.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.365e-05/10, allocations: 24.7 kB / 7.05 GB, free: 53.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/10, allocations: 73.53 kB / 7.051 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/10, allocations: 0 / 7.051 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/10, allocations: 0 / 7.051 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/10, allocations: 4 kB / 7.051 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/10, allocations: 164.2 kB / 7.051 GB, free: 53.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/10, allocations: 95.11 kB / 7.051 GB, free: 53.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/10, allocations: 29.84 kB / 7.051 GB, free: 53.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/10, allocations: 11.5 kB / 7.051 GB, free: 53.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/10, allocations: 36.44 kB / 7.051 GB, free: 53.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.456e-06/10, allocations: 3.938 kB / 7.051 GB, free: 53.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007938/10, allocations: 175.6 kB / 7.051 GB, free: 53.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/10, allocations: 77.11 kB / 7.051 GB, free: 53.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/10.01, allocations: 121.2 kB / 7.051 GB, free: 53.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/10.01, allocations: 29.61 kB / 7.051 GB, free: 53.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.36e-05/10.01, allocations: 88.08 kB / 7.051 GB, free: 52.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/10.01, allocations: 20.05 kB / 7.051 GB, free: 52.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/10.01, allocations: 0 / 7.051 GB, free: 52.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/10.01, allocations: 317.5 kB / 7.052 GB, free: 52.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/10.01, allocations: 13.28 kB / 7.052 GB, free: 52.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/10.01, allocations: 27.92 kB / 7.052 GB, free: 52.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/10.01, allocations: 120.8 kB / 7.052 GB, free: 52.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/10.01, allocations: 0 / 7.052 GB, free: 52.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006301/10.01, allocations: 173.2 kB / 7.052 GB, free: 52.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/10.01, allocations: 3.875 kB / 7.052 GB, free: 52.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/10.01, allocations: 0 / 7.052 GB, free: 52.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/10.01, allocations: 6.094 kB / 7.052 GB, free: 52.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/10.01, allocations: 15.06 kB / 7.052 GB, free: 52.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/10.01, allocations: 3.969 kB / 7.052 GB, free: 52.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/10.01, allocations: 6.234 kB / 7.052 GB, free: 52.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/10.01, allocations: 3.906 kB / 7.052 GB, free: 52.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.453e-05/10.01, allocations: 106.4 kB / 7.052 GB, free: 52.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/10.01, allocations: 11.88 kB / 7.052 GB, free: 52.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/10.01, allocations: 200.6 kB / 7.052 GB, free: 52.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/10.01, allocations: 0 / 7.052 GB, free: 52.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/10.01, allocations: 3.781 kB / 7.052 GB, free: 52.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/10.01, allocations: 7.516 kB / 7.052 GB, free: 52.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/10.01, allocations: 143.8 kB / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/10.01, allocations: 4.219 kB / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.523e-05/10.01, allocations: 20.14 kB / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/10.01, allocations: 0 / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/10.01, allocations: 3.812 kB / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/10.01, allocations: 4 kB / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/10.01, allocations: 1.875 kB / 7.052 GB, free: 52.28 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006523/10.01, allocations: 215 kB / 7.053 GB, free: 52.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/10.01, allocations: 99.95 kB / 7.053 GB, free: 52.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/10.01, allocations: 7.844 kB / 7.053 GB, free: 52.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/10.01, allocations: 9.391 kB / 7.053 GB, free: 52.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/10.01, allocations: 3.906 kB / 7.053 GB, free: 52.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/10.01, allocations: 10.98 kB / 7.053 GB, free: 52.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.685e-05/10.01, allocations: 102.7 kB / 7.053 GB, free: 52.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003534/10.01, allocations: 0.9918 MB / 7.054 GB, free: 51.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0067/10.02, allocations: 1.589 MB / 7.055 GB, free: 51.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/10.02, allocations: 38.28 kB / 7.055 GB, free: 51.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/10.02, allocations: 3.938 kB / 7.055 GB, free: 51.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/10.02, allocations: 27.83 kB / 7.055 GB, free: 51.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/10.02, allocations: 14.52 kB / 7.056 GB, free: 51.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/10.02, allocations: 103.8 kB / 7.056 GB, free: 51.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/10.02, allocations: 0.7104 MB / 7.056 GB, free: 50.81 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/10.02, allocations: 0 / 7.056 GB, free: 50.81 MB / 394.7 MB Notification: Performance of Templates: time 0.0399/10.06, allocations: 29.1 MB / 7.085 GB, free: 48.49 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)