Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.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.003836/0.003836, allocations: 172.5 kB / 7.446 MB, free: 2.508 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.415/1.415, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001722/0.001722, allocations: 112.4 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.225e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.088, allocations: 38.75 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.354, allocations: 0.5724 GB / 0.8659 GB, free: 126.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.354, allocations: 75.8 kB / 0.8659 GB, free: 126.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09589/1.45, allocations: 40.81 MB / 0.9058 GB, free: 90.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/1.45, allocations: 4 kB / 0.9058 GB, free: 90.22 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.0007498/1.451, allocations: 443.1 kB / 0.9062 GB, free: 89.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.451, allocations: 8.031 kB / 0.9062 GB, free: 89.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.452, allocations: 115.7 kB / 0.9063 GB, free: 89.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/1.452, allocations: 190.9 kB / 0.9065 GB, free: 89.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/1.452, allocations: 7.938 kB / 0.9065 GB, free: 89.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/1.452, allocations: 3.906 kB / 0.9065 GB, free: 89.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.542e-05/1.452, allocations: 31.98 kB / 0.9066 GB, free: 89.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.453, allocations: 63.39 kB / 0.9066 GB, free: 89.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.453, allocations: 0 / 0.9066 GB, free: 89.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.453, allocations: 0 / 0.9066 GB, free: 89.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.453, allocations: 3.984 kB / 0.9066 GB, free: 89.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/1.453, allocations: 174.8 kB / 0.9068 GB, free: 89.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/1.453, allocations: 89.28 kB / 0.9069 GB, free: 88.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/1.453, allocations: 25.78 kB / 0.9069 GB, free: 88.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/1.454, allocations: 1.383 MB / 0.9083 GB, free: 87.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/1.454, allocations: 38.5 kB / 0.9083 GB, free: 87.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/1.454, allocations: 0 / 0.9083 GB, free: 87.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007312/1.455, allocations: 157.4 kB / 0.9084 GB, free: 87.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.455, allocations: 81.11 kB / 0.9085 GB, free: 86.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.455, allocations: 121 kB / 0.9086 GB, free: 86.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.455, allocations: 25.7 kB / 0.9087 GB, free: 86.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.834e-05/1.455, allocations: 84.12 kB / 0.9087 GB, free: 86.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/1.455, allocations: 23.66 kB / 0.9088 GB, free: 86.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/1.455, allocations: 0 / 0.9088 GB, free: 86.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/1.455, allocations: 322.8 kB / 0.9091 GB, free: 86.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/1.455, allocations: 19.94 kB / 0.9091 GB, free: 86.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.186e-05/1.455, allocations: 47.42 kB / 0.9091 GB, free: 86.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/1.456, allocations: 95.88 kB / 0.9092 GB, free: 86.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.456, allocations: 0 / 0.9092 GB, free: 86.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005398/1.456, allocations: 169.4 kB / 0.9094 GB, free: 86.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.456, allocations: 4 kB / 0.9094 GB, free: 86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.456, allocations: 4.062 kB / 0.9094 GB, free: 86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.456, allocations: 4 kB / 0.9094 GB, free: 86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.456, allocations: 15.98 kB / 0.9094 GB, free: 85.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.456, allocations: 3.938 kB / 0.9094 GB, free: 85.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/1.457, allocations: 4 kB / 0.9094 GB, free: 85.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/1.457, allocations: 11.98 kB / 0.9094 GB, free: 85.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.282e-05/1.457, allocations: 104.9 kB / 0.9095 GB, free: 85.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/1.457, allocations: 4 kB / 0.9095 GB, free: 85.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/1.457, allocations: 205.2 kB / 0.9097 GB, free: 85.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.457, allocations: 0 / 0.9097 GB, free: 85.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.457, allocations: 4 kB / 0.9097 GB, free: 85.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.457, allocations: 3.938 kB / 0.9097 GB, free: 85.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/1.458, allocations: 162 kB / 0.9099 GB, free: 85.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.458, allocations: 4 kB / 0.9099 GB, free: 85.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/1.458, allocations: 15.98 kB / 0.9099 GB, free: 85.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.458, allocations: 0 / 0.9099 GB, free: 85.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.458, allocations: 0 / 0.9099 GB, free: 85.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/1.458, allocations: 7.984 kB / 0.9099 GB, free: 85.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.458, allocations: 0 / 0.9099 GB, free: 85.41 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005899/1.458, allocations: 219.8 kB / 0.9101 GB, free: 85.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/1.458, allocations: 101 kB / 0.9102 GB, free: 85.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/1.459, allocations: 3.984 kB / 0.9102 GB, free: 85.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/1.459, allocations: 8.062 kB / 0.9102 GB, free: 85.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/1.459, allocations: 7.922 kB / 0.9102 GB, free: 85.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/1.459, allocations: 4 kB / 0.9103 GB, free: 85.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.941e-05/1.459, allocations: 107.2 kB / 0.9104 GB, free: 84.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008823/1.46, allocations: 212 kB / 0.9106 GB, free: 84.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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.001747/1.461, allocations: 0.9345 MB / 0.9115 GB, free: 83.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/1.462, allocations: 43.98 kB / 0.9115 GB, free: 83.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.462, allocations: 0 / 0.9115 GB, free: 83.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/1.462, allocations: 23.92 kB / 0.9115 GB, free: 83.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/1.462, allocations: 8 kB / 0.9115 GB, free: 83.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/1.462, allocations: 222.6 kB / 0.9118 GB, free: 83.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.463, allocations: 0.7266 MB / 0.9125 GB, free: 82.7 MB / 346.7 MB Notification: Performance of SimCode: time 6.02e-07/1.463, allocations: 0 / 0.9125 GB, free: 82.7 MB / 346.7 MB Notification: Performance of Templates: time 0.0119/1.475, allocations: 7.4 MB / 0.9197 GB, free: 75.29 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)