Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+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.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.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/Modelica 3.1.0+maint.om/package.mo): time 0.7814/0.7814, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001791/0.001791, allocations: 164 kB / 143.7 MB, free: 4.867 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.731e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03805/0.03807, allocations: 25.17 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5615/0.5997, allocations: 360.8 MB / 0.5464 GB, free: 49.66 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5999, allocations: 60.78 kB / 0.5464 GB, free: 49.64 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.1582/0.7582, allocations: 47.76 MB / 0.5931 GB, free: 5.004 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.7583, allocations: 0 / 0.5931 GB, free: 5.004 MB / 234.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.0006022/0.7589, allocations: 442.1 kB / 0.5935 GB, free: 4.527 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7589, allocations: 8.031 kB / 0.5935 GB, free: 4.52 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.759, allocations: 3.906 kB / 0.5935 GB, free: 4.516 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.7591, allocations: 179 kB / 0.5937 GB, free: 4.301 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.7591, allocations: 4 kB / 0.5937 GB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.7591, allocations: 3.906 kB / 0.5937 GB, free: 4.293 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.691e-05/0.7592, allocations: 19.98 kB / 0.5937 GB, free: 4.273 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.7593, allocations: 55.41 kB / 0.5937 GB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.7593, allocations: 0 / 0.5937 GB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7593, allocations: 4 kB / 0.5937 GB, free: 4.203 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7593, allocations: 4 kB / 0.5937 GB, free: 4.199 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.7595, allocations: 151.1 kB / 0.5939 GB, free: 4.012 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.7597, allocations: 81.12 kB / 0.594 GB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.7598, allocations: 25.78 kB / 0.594 GB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007784/0.7606, allocations: 1.617 MB / 0.5956 GB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.7606, allocations: 34.56 kB / 0.5956 GB, free: 1.871 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.7606, allocations: 0 / 0.5956 GB, free: 1.871 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007519/0.7613, allocations: 165.5 kB / 0.5958 GB, free: 1.703 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.7614, allocations: 77.11 kB / 0.5958 GB, free: 1.609 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.7615, allocations: 116.9 kB / 0.5959 GB, free: 1.488 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.7615, allocations: 25.7 kB / 0.596 GB, free: 1.457 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.274e-05/0.7615, allocations: 80.14 kB / 0.596 GB, free: 1.375 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.7615, allocations: 15.8 kB / 0.5961 GB, free: 1.359 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.7615, allocations: 0 / 0.5961 GB, free: 1.359 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.7616, allocations: 314.8 kB / 0.5964 GB, free: 1.043 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.7616, allocations: 8 kB / 0.5964 GB, free: 1.035 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.7616, allocations: 25.64 kB / 0.5964 GB, free: 1.004 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.7622, allocations: 135.8 kB / 0.5965 GB, free: 0.8711 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7622, allocations: 3.938 kB / 0.5965 GB, free: 0.8672 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005672/0.7628, allocations: 169.4 kB / 0.5967 GB, free: 0.6953 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7628, allocations: 4 kB / 0.5967 GB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7628, allocations: 0 / 0.5967 GB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7628, allocations: 0 / 0.5967 GB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.7629, allocations: 15.98 kB / 0.5967 GB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7629, allocations: 0 / 0.5967 GB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.763, allocations: 19.77 kB / 0.5967 GB, free: 0.6562 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.763, allocations: 0 / 0.5967 GB, free: 0.6562 MB / 234.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.578e-05/0.7631, allocations: 105 kB / 0.5968 GB, free: 0.5469 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.7631, allocations: 7.906 kB / 0.5968 GB, free: 0.5391 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.7638, allocations: 233.3 kB / 0.5971 GB, free: 312 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7639, allocations: 4 kB / 0.5971 GB, free: 308 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7639, allocations: 3.984 kB / 0.5971 GB, free: 304 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.7639, allocations: 0 / 0.5971 GB, free: 304 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.764, allocations: 158.1 kB / 0.5972 GB, free: 108 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.764, allocations: 0 / 0.5972 GB, free: 108 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.7641, allocations: 15.94 kB / 0.5972 GB, free: 92 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7641, allocations: 0 / 0.5972 GB, free: 92 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.7641, allocations: 3.984 kB / 0.5972 GB, free: 88 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7641, allocations: 0 / 0.5972 GB, free: 88 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7641, allocations: 4 kB / 0.5972 GB, free: 84 kB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06877/0.8329, allocations: 227.4 kB / 0.5975 GB, free: 79.59 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.833, allocations: 99.31 kB / 0.5975 GB, free: 79.5 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.833, allocations: 0 / 0.5975 GB, free: 79.5 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.8331, allocations: 3.938 kB / 0.5976 GB, free: 79.5 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.8331, allocations: 10.09 kB / 0.5976 GB, free: 79.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.8332, allocations: 0 / 0.5976 GB, free: 79.5 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.972e-05/0.8332, allocations: 94.83 kB / 0.5977 GB, free: 79.42 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006922/0.8339, allocations: 210.5 kB / 0.5979 GB, free: 79.42 MB / 234.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001244/0.8352, allocations: 0.8944 MB / 0.5987 GB, free: 79.31 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.8353, allocations: 38.06 kB / 0.5988 GB, free: 79.31 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8353, allocations: 2.531 kB / 0.5988 GB, free: 79.31 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.8354, allocations: 29.86 kB / 0.5988 GB, free: 79.31 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.8356, allocations: 16.62 kB / 0.5988 GB, free: 79.31 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.8359, allocations: 100.8 kB / 0.5989 GB, free: 79.24 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.8361, allocations: 0.7272 MB / 0.5996 GB, free: 78.54 MB / 234.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8361, allocations: 0 / 0.5996 GB, free: 78.54 MB / 234.7 MB Notification: Performance of Templates: time 0.01018/0.8463, allocations: 7.14 MB / 0.6066 GB, free: 78.12 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)