Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.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.2+maint.om/package.mo): time 0.001163/0.001163, allocations: 187.3 kB / 8.134 MB, free: 2.215 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.122/1.122, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001839/0.001839, allocations: 119.1 kB / 247.8 MB, free: 6.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.072e-06, allocations: 0 / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.069/0.06902, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.206, allocations: 0.7431 GB / 1.077 GB, free: 25.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/1.206, allocations: 74.12 kB / 1.077 GB, free: 24.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2875/1.494, allocations: 77.23 MB / 1.153 GB, free: 101.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/1.494, allocations: 3.281 kB / 1.153 GB, free: 101.7 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.0006678/1.494, allocations: 467.2 kB / 1.153 GB, free: 101.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.495, allocations: 9.438 kB / 1.153 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/1.495, allocations: 45.58 kB / 1.153 GB, free: 101.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.495, allocations: 190.4 kB / 1.153 GB, free: 101 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.495, allocations: 0 / 1.153 GB, free: 101 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/1.495, allocations: 6.969 kB / 1.153 GB, free: 101 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.478e-05/1.495, allocations: 55.73 kB / 1.153 GB, free: 101 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/1.495, allocations: 80.92 kB / 1.153 GB, free: 100.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/1.495, allocations: 0 / 1.153 GB, free: 100.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.495, allocations: 0 / 1.153 GB, free: 100.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/1.495, allocations: 0 / 1.153 GB, free: 100.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/1.495, allocations: 168.9 kB / 1.154 GB, free: 100.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/1.496, allocations: 114.2 kB / 1.154 GB, free: 100.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/1.496, allocations: 40.41 kB / 1.154 GB, free: 100.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/1.496, allocations: 139.5 kB / 1.154 GB, free: 100.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/1.496, allocations: 37.66 kB / 1.154 GB, free: 100.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/1.496, allocations: 0 / 1.154 GB, free: 100.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000822/1.497, allocations: 190.8 kB / 1.154 GB, free: 100.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.497, allocations: 85.02 kB / 1.154 GB, free: 100.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/1.497, allocations: 125 kB / 1.154 GB, free: 100.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/1.497, allocations: 29.7 kB / 1.154 GB, free: 100.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.676e-05/1.497, allocations: 88.66 kB / 1.154 GB, free: 100.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/1.497, allocations: 22.97 kB / 1.154 GB, free: 100.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/1.497, allocations: 0 / 1.154 GB, free: 100.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/1.497, allocations: 318.8 kB / 1.155 GB, free: 99.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/1.497, allocations: 25.58 kB / 1.155 GB, free: 99.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/1.497, allocations: 47.17 kB / 1.155 GB, free: 99.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/1.498, allocations: 133.8 kB / 1.155 GB, free: 99.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.498, allocations: 3.094 kB / 1.155 GB, free: 99.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007052/1.499, allocations: 208.6 kB / 1.155 GB, free: 99.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.499, allocations: 6.281 kB / 1.155 GB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/1.499, allocations: 0 / 1.155 GB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.499, allocations: 7.047 kB / 1.155 GB, free: 99.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/1.499, allocations: 21.06 kB / 1.155 GB, free: 99.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.499, allocations: 0 / 1.155 GB, free: 99.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/1.499, allocations: 11.05 kB / 1.155 GB, free: 99.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.499, allocations: 5.062 kB / 1.155 GB, free: 99.52 MB / 394.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 4.147e-05/1.499, allocations: 111.6 kB / 1.155 GB, free: 99.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/1.499, allocations: 10.91 kB / 1.155 GB, free: 99.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/1.5, allocations: 248.7 kB / 1.156 GB, free: 99.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.5, allocations: 0 / 1.156 GB, free: 99.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.5, allocations: 0 / 1.156 GB, free: 99.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.5, allocations: 2.781 kB / 1.156 GB, free: 99.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/1.5, allocations: 165.6 kB / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.5, allocations: 0 / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/1.5, allocations: 14.36 kB / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/1.5, allocations: 3.156 kB / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.5, allocations: 0 / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/1.5, allocations: 4.281 kB / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.5, allocations: 0 / 1.156 GB, free: 99.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000767/1.501, allocations: 293.9 kB / 1.156 GB, free: 98.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/1.501, allocations: 98.14 kB / 1.156 GB, free: 98.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/1.501, allocations: 3.906 kB / 1.156 GB, free: 98.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/1.501, allocations: 7.25 kB / 1.156 GB, free: 98.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/1.501, allocations: 6.797 kB / 1.156 GB, free: 98.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/1.501, allocations: 2.781 kB / 1.156 GB, free: 98.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.589e-05/1.501, allocations: 106.1 kB / 1.156 GB, free: 98.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008265/1.502, allocations: 259.6 kB / 1.156 GB, free: 98.59 MB / 394.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.001638/1.504, allocations: 1.086 MB / 1.157 GB, free: 98.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/1.504, allocations: 52.23 kB / 1.158 GB, free: 98.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.504, allocations: 0 / 1.158 GB, free: 98.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/1.504, allocations: 29.61 kB / 1.158 GB, free: 98.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/1.504, allocations: 17.3 kB / 1.158 GB, free: 98.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/1.504, allocations: 234.8 kB / 1.158 GB, free: 97.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.504, allocations: 0.7104 MB / 1.158 GB, free: 97.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/1.504, allocations: 3.156 kB / 1.159 GB, free: 97.2 MB / 394.7 MB Notification: Performance of Templates: time 0.0119/1.516, allocations: 8.762 MB / 1.167 GB, free: 89.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)