Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [: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.001114/0.001114, allocations: 195.9 kB / 8.142 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.149/1.149, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001944/0.001943, allocations: 109.4 kB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.683e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07488/0.0749, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.159, allocations: 0.6407 GB / 0.9747 GB, free: 126.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/1.16, allocations: 74.69 kB / 0.9748 GB, free: 126.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1794/1.339, allocations: 113.5 MB / 1.086 GB, free: 18.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/1.339, allocations: 0 / 1.086 GB, free: 18.45 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.001061/1.34, allocations: 0.5602 MB / 1.086 GB, free: 17.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.34, allocations: 12.03 kB / 1.086 GB, free: 17.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/1.34, allocations: 13.92 kB / 1.086 GB, free: 17.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.34, allocations: 179 kB / 1.086 GB, free: 17.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.34, allocations: 0 / 1.086 GB, free: 17.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/1.341, allocations: 7.938 kB / 1.086 GB, free: 17.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.174e-05/1.341, allocations: 8 kB / 1.086 GB, free: 17.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/1.341, allocations: 59.39 kB / 1.086 GB, free: 17.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.341, allocations: 0 / 1.086 GB, free: 17.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.341, allocations: 7.938 kB / 1.086 GB, free: 17.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.341, allocations: 4 kB / 1.086 GB, free: 17.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/1.341, allocations: 155.1 kB / 1.087 GB, free: 17.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/1.341, allocations: 65.14 kB / 1.087 GB, free: 17.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/1.341, allocations: 29.95 kB / 1.087 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1908/1.532, allocations: 36.09 MB / 1.122 GB, free: 142.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.532, allocations: 41.78 kB / 1.122 GB, free: 142.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/1.532, allocations: 0 / 1.122 GB, free: 142.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001185/1.533, allocations: 163.3 kB / 1.122 GB, free: 142.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/1.533, allocations: 77.11 kB / 1.122 GB, free: 142.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/1.533, allocations: 101.9 kB / 1.122 GB, free: 142.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/1.533, allocations: 27.48 kB / 1.122 GB, free: 142.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.162e-05/1.533, allocations: 87.97 kB / 1.122 GB, free: 142.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/1.533, allocations: 22.16 kB / 1.122 GB, free: 142.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.533, allocations: 0 / 1.122 GB, free: 142.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/1.533, allocations: 321.4 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/1.534, allocations: 3.562 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/1.534, allocations: 22.69 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/1.534, allocations: 97.5 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.534, allocations: 3.938 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009209/1.535, allocations: 166.9 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.535, allocations: 3.75 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.535, allocations: 7.969 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.535, allocations: 0 / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/1.535, allocations: 11.69 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.535, allocations: 8.406 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/1.536, allocations: 1.828 kB / 1.123 GB, free: 142.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/1.536, allocations: 3.969 kB / 1.123 GB, free: 142.2 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.573e-05/1.536, allocations: 107.2 kB / 1.123 GB, free: 142.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/1.536, allocations: 15.78 kB / 1.123 GB, free: 142.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.537, allocations: 201.4 kB / 1.123 GB, free: 142 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.537, allocations: 7.625 kB / 1.123 GB, free: 142 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.537, allocations: 3.656 kB / 1.123 GB, free: 142 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.537, allocations: 4 kB / 1.123 GB, free: 142 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.167e-05/1.537, allocations: 141 kB / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.537, allocations: 0 / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/1.537, allocations: 18.44 kB / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.537, allocations: 0 / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/1.537, allocations: 3.25 kB / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.537, allocations: 7.875 kB / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.537, allocations: 0 / 1.124 GB, free: 141.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000946/1.538, allocations: 203 kB / 1.124 GB, free: 141.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/1.538, allocations: 94.14 kB / 1.124 GB, free: 141.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.538, allocations: 3.906 kB / 1.124 GB, free: 141.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/1.538, allocations: 7.453 kB / 1.124 GB, free: 141.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/1.538, allocations: 11.61 kB / 1.124 GB, free: 141.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.538, allocations: 0 / 1.124 GB, free: 141.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.062e-05/1.538, allocations: 95.05 kB / 1.124 GB, free: 141.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008617/1.539, allocations: 335.9 kB / 1.124 GB, free: 141.6 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.001803/1.541, allocations: 0.7999 MB / 1.125 GB, free: 141.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.831e-05/1.541, allocations: 25.86 kB / 1.125 GB, free: 141.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.541, allocations: 6.797 kB / 1.125 GB, free: 141.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/1.541, allocations: 15.31 kB / 1.125 GB, free: 141.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.541, allocations: 12.16 kB / 1.125 GB, free: 141.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/1.542, allocations: 86.91 kB / 1.125 GB, free: 141.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.542, allocations: 0.7179 MB / 1.126 GB, free: 140.6 MB / 394.7 MB Notification: Performance of SimCode: time 8.31e-07/1.542, allocations: 4 kB / 1.126 GB, free: 140.6 MB / 394.7 MB Notification: Performance of Templates: time 0.01363/1.555, allocations: 8.62 MB / 1.134 GB, free: 139.9 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)