Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.005706/0.005706, allocations: 181.4 kB / 7.454 MB, free: 2.512 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.504/1.504, allocations: 170.6 MB / 178.4 MB, free: 15.53 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.002129/0.002129, allocations: 108.7 kB / 217.7 MB, free: 8.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.158e-05/1.214e-05, allocations: 4 kB / 261.7 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 38.76 MB / 300.5 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/1.846, allocations: 0.6354 GB / 0.9289 GB, free: 123.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.846, allocations: 76.39 kB / 0.9289 GB, free: 123.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1763/2.023, allocations: 113.5 MB / 1.04 GB, free: 11.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/2.023, allocations: 0 / 1.04 GB, free: 11.49 MB / 362.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.001813/2.025, allocations: 0.569 MB / 1.04 GB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/2.025, allocations: 12.03 kB / 1.04 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/2.025, allocations: 7.906 kB / 1.04 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/2.025, allocations: 186.9 kB / 1.041 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/2.025, allocations: 0 / 1.041 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/2.025, allocations: 4 kB / 1.041 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.766e-05/2.025, allocations: 12 kB / 1.041 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/2.025, allocations: 59.39 kB / 1.041 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/2.025, allocations: 0 / 1.041 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/2.025, allocations: 0 / 1.041 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/2.025, allocations: 8 kB / 1.041 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/2.026, allocations: 151.1 kB / 1.041 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/2.026, allocations: 69.23 kB / 1.041 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/2.026, allocations: 21.78 kB / 1.041 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2627/2.289, allocations: 36.09 MB / 1.076 GB, free: 134.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/2.289, allocations: 34.03 kB / 1.076 GB, free: 134.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/2.289, allocations: 0 / 1.076 GB, free: 134.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001475/2.29, allocations: 161.5 kB / 1.076 GB, free: 134.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/2.29, allocations: 77.11 kB / 1.076 GB, free: 134.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/2.291, allocations: 111 kB / 1.076 GB, free: 134.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/2.291, allocations: 25.7 kB / 1.076 GB, free: 134.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/2.291, allocations: 80.14 kB / 1.077 GB, free: 134.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/2.291, allocations: 23.31 kB / 1.077 GB, free: 134.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/2.291, allocations: 0 / 1.077 GB, free: 134.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/2.291, allocations: 325.7 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/2.291, allocations: 3.938 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/2.291, allocations: 23.34 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008435/2.292, allocations: 106.6 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/2.292, allocations: 0 / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009082/2.293, allocations: 160.2 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/2.293, allocations: 3.656 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/2.293, allocations: 6.859 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/2.293, allocations: 3.281 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/2.293, allocations: 13.55 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/2.293, allocations: 0 / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/2.293, allocations: 3.656 kB / 1.077 GB, free: 134 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/2.293, allocations: 4 kB / 1.077 GB, free: 134 MB / 362.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 0.0001168/2.293, allocations: 112.7 kB / 1.077 GB, free: 133.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/2.293, allocations: 11.66 kB / 1.077 GB, free: 133.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/2.294, allocations: 201.4 kB / 1.078 GB, free: 133.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/2.294, allocations: 3.719 kB / 1.078 GB, free: 133.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/2.294, allocations: 3.906 kB / 1.078 GB, free: 133.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/2.294, allocations: 0 / 1.078 GB, free: 133.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/2.295, allocations: 144.9 kB / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/2.295, allocations: 0 / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/2.295, allocations: 15.56 kB / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/2.295, allocations: 3.094 kB / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/2.295, allocations: 0 / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/2.295, allocations: 7.844 kB / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.295, allocations: 3.906 kB / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009396/2.296, allocations: 201.9 kB / 1.078 GB, free: 133.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/2.296, allocations: 94.14 kB / 1.078 GB, free: 133.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/2.296, allocations: 3.719 kB / 1.078 GB, free: 133.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/2.296, allocations: 11.47 kB / 1.078 GB, free: 133.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/2.296, allocations: 7.969 kB / 1.078 GB, free: 133.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/2.296, allocations: 11.19 kB / 1.078 GB, free: 133.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.104e-05/2.296, allocations: 93 kB / 1.078 GB, free: 133.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00175/2.298, allocations: 332.3 kB / 1.078 GB, free: 133.4 MB / 362.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.002555/2.301, allocations: 0.8028 MB / 1.079 GB, free: 133.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/2.301, allocations: 31.19 kB / 1.079 GB, free: 133.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/2.301, allocations: 0 / 1.079 GB, free: 133.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/2.301, allocations: 15.75 kB / 1.079 GB, free: 133.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/2.301, allocations: 8.781 kB / 1.079 GB, free: 133.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/2.302, allocations: 85.47 kB / 1.079 GB, free: 133.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/2.302, allocations: 0.7267 MB / 1.08 GB, free: 132.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/2.302, allocations: 0 / 1.08 GB, free: 132.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01838/2.32, allocations: 8.628 MB / 1.088 GB, free: 131.7 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)