Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_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.1+maint.om/package.mo): time 0.00614/0.00614, allocations: 176.1 kB / 7.452 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.554/1.554, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001724/0.001724, allocations: 112.9 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.143e-05/1.153e-05, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.0991, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.5/16.6, allocations: 6.537 GB / 6.83 GB, free: 96.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/16.6, allocations: 75.66 kB / 6.83 GB, free: 96.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6775/17.28, allocations: 175.7 MB / 7.002 GB, free: 47.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/17.28, allocations: 6.25 kB / 7.002 GB, free: 47.98 MB / 346.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.006316/17.29, allocations: 1.088 MB / 7.003 GB, free: 47.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/17.29, allocations: 10.47 kB / 7.003 GB, free: 47.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/17.29, allocations: 3.969 kB / 7.003 GB, free: 47.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/17.29, allocations: 194.1 kB / 7.003 GB, free: 47.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/17.29, allocations: 10.03 kB / 7.003 GB, free: 47.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/17.29, allocations: 0 / 7.003 GB, free: 47.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/17.29, allocations: 29.02 kB / 7.003 GB, free: 47.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/17.29, allocations: 65.16 kB / 7.003 GB, free: 47.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/17.29, allocations: 5.031 kB / 7.003 GB, free: 47.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/17.29, allocations: 3.906 kB / 7.003 GB, free: 47.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/17.29, allocations: 10.75 kB / 7.003 GB, free: 47.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/17.29, allocations: 161.7 kB / 7.003 GB, free: 46.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/17.29, allocations: 95.31 kB / 7.003 GB, free: 46.86 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/17.29, allocations: 30.81 kB / 7.004 GB, free: 46.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.643e-05/17.29, allocations: 9.094 kB / 7.004 GB, free: 46.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/17.29, allocations: 34.97 kB / 7.004 GB, free: 46.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/17.29, allocations: 0 / 7.004 GB, free: 46.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009014/17.29, allocations: 172.2 kB / 7.004 GB, free: 46.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/17.29, allocations: 80.77 kB / 7.004 GB, free: 46.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/17.29, allocations: 124.3 kB / 7.004 GB, free: 46.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/17.29, allocations: 33.61 kB / 7.004 GB, free: 46.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/17.29, allocations: 82.7 kB / 7.004 GB, free: 46.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/17.29, allocations: 16.94 kB / 7.004 GB, free: 46.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/17.29, allocations: 0 / 7.004 GB, free: 46.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/17.29, allocations: 316.9 kB / 7.004 GB, free: 46.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/17.29, allocations: 16.77 kB / 7.004 GB, free: 46.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/17.29, allocations: 29.52 kB / 7.004 GB, free: 46.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/17.29, allocations: 114 kB / 7.004 GB, free: 46.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/17.29, allocations: 0 / 7.004 GB, free: 46.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005701/17.29, allocations: 173.2 kB / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/17.29, allocations: 7.25 kB / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/17.29, allocations: 2.062 kB / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/17.29, allocations: 0 / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/17.29, allocations: 18.47 kB / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/17.29, allocations: 0 / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/17.29, allocations: 10.55 kB / 7.005 GB, free: 46.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/17.29, allocations: 5.344 kB / 7.005 GB, free: 46.08 MB / 346.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 7.418e-05/17.29, allocations: 107.9 kB / 7.005 GB, free: 45.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/17.29, allocations: 11.17 kB / 7.005 GB, free: 45.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/17.29, allocations: 206.8 kB / 7.005 GB, free: 45.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/17.29, allocations: 7.688 kB / 7.005 GB, free: 45.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/17.29, allocations: 0 / 7.005 GB, free: 45.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/17.29, allocations: 0 / 7.005 GB, free: 45.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/17.29, allocations: 154.2 kB / 7.005 GB, free: 45.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/17.29, allocations: 0 / 7.005 GB, free: 45.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/17.29, allocations: 10.22 kB / 7.005 GB, free: 45.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/17.29, allocations: 7.891 kB / 7.005 GB, free: 45.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/17.29, allocations: 2.938 kB / 7.005 GB, free: 45.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/17.29, allocations: 3.188 kB / 7.005 GB, free: 45.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/17.29, allocations: 0 / 7.005 GB, free: 45.75 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006125/17.29, allocations: 215.1 kB / 7.005 GB, free: 45.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/17.29, allocations: 102.3 kB / 7.005 GB, free: 45.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/17.29, allocations: 4 kB / 7.005 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/17.29, allocations: 1.938 kB / 7.006 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/17.29, allocations: 8.281 kB / 7.006 GB, free: 45.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/17.29, allocations: 8.844 kB / 7.006 GB, free: 45.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.994e-05/17.29, allocations: 103.7 kB / 7.006 GB, free: 45.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006299/17.3, allocations: 0.9784 MB / 7.007 GB, free: 45.32 MB / 346.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.01173/17.31, allocations: 1.594 MB / 7.008 GB, free: 44.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/17.31, allocations: 40.3 kB / 7.008 GB, free: 44.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/17.31, allocations: 0 / 7.008 GB, free: 44.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/17.31, allocations: 25.34 kB / 7.008 GB, free: 44.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/17.31, allocations: 15.62 kB / 7.008 GB, free: 44.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/17.31, allocations: 105.7 kB / 7.008 GB, free: 44.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/17.31, allocations: 0.7121 MB / 7.009 GB, free: 60.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.7e-07/17.31, allocations: 0 / 7.009 GB, free: 60.18 MB / 362.7 MB Notification: Performance of Templates: time 0.05619/17.37, allocations: 29 MB / 7.037 GB, free: 55.94 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)