Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0025/0.0025, allocations: 196.4 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009986/0.0009987, allocations: 95.67 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.825e-06, allocations: 0 / 343.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 51.48 MB / 394.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.361, allocations: 498.4 MB / 0.8721 GB, free: 38.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.361, allocations: 71.97 kB / 0.8722 GB, free: 38.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.06722/1.429, allocations: 30.7 MB / 0.9021 GB, free: 7.984 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/1.429, allocations: 0 / 0.9021 GB, free: 7.984 MB / 442.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.0006509/1.429, allocations: 418.2 kB / 0.9025 GB, free: 7.531 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.43, allocations: 8.031 kB / 0.9025 GB, free: 7.523 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.431, allocations: 126.7 kB / 0.9027 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/1.431, allocations: 198.9 kB / 0.9029 GB, free: 7.168 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/1.431, allocations: 4.562 kB / 0.9029 GB, free: 7.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/1.431, allocations: 8 kB / 0.9029 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.996e-05/1.431, allocations: 23.92 kB / 0.9029 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/1.431, allocations: 67.38 kB / 0.903 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.431, allocations: 4 kB / 0.903 GB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.431, allocations: 0 / 0.903 GB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.431, allocations: 2.438 kB / 0.903 GB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/1.432, allocations: 169.9 kB / 0.9031 GB, free: 6.848 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/1.432, allocations: 85.22 kB / 0.9032 GB, free: 6.746 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/1.432, allocations: 29.86 kB / 0.9032 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009116/1.433, allocations: 1.635 MB / 0.9048 GB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.433, allocations: 34.56 kB / 0.9049 GB, free: 4.664 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/1.433, allocations: 0 / 0.9049 GB, free: 4.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007121/1.434, allocations: 137.4 kB / 0.905 GB, free: 4.523 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.434, allocations: 77.11 kB / 0.9051 GB, free: 4.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.434, allocations: 124.5 kB / 0.9052 GB, free: 4.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.434, allocations: 25.7 kB / 0.9052 GB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/1.434, allocations: 84.14 kB / 0.9053 GB, free: 4.188 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/1.434, allocations: 23.64 kB / 0.9053 GB, free: 4.164 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/1.434, allocations: 0 / 0.9053 GB, free: 4.164 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/1.434, allocations: 318.8 kB / 0.9056 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.679e-05/1.434, allocations: 16 kB / 0.9056 GB, free: 3.828 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/1.434, allocations: 39.42 kB / 0.9057 GB, free: 3.777 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/1.435, allocations: 79.83 kB / 0.9057 GB, free: 3.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.435, allocations: 0 / 0.9057 GB, free: 3.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005019/1.435, allocations: 149.5 kB / 0.9059 GB, free: 3.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.435, allocations: 8 kB / 0.9059 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.435, allocations: 0 / 0.9059 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.435, allocations: 0 / 0.9059 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/1.435, allocations: 23.97 kB / 0.9059 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.435, allocations: 0 / 0.9059 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/1.435, allocations: 11.89 kB / 0.9059 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/1.436, allocations: 5.5 kB / 0.9059 GB, free: 3.5 MB / 442.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.83e-05/1.436, allocations: 109 kB / 0.906 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/1.436, allocations: 7.906 kB / 0.906 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/1.436, allocations: 177.3 kB / 0.9062 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.436, allocations: 4 kB / 0.9062 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.436, allocations: 0 / 0.9062 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.436, allocations: 4 kB / 0.9062 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/1.436, allocations: 154.1 kB / 0.9064 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.436, allocations: 0 / 0.9064 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/1.437, allocations: 11.98 kB / 0.9064 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.437, allocations: 7.984 kB / 0.9064 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/1.437, allocations: 0 / 0.9064 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.437, allocations: 0 / 0.9064 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.437, allocations: 3.938 kB / 0.9064 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005572/1.437, allocations: 199.4 kB / 0.9066 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/1.437, allocations: 96.92 kB / 0.9067 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.437, allocations: 1.688 kB / 0.9067 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/1.437, allocations: 7.984 kB / 0.9067 GB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/1.438, allocations: 8.062 kB / 0.9067 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.438, allocations: 3.984 kB / 0.9067 GB, free: 2.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.582e-05/1.438, allocations: 107.3 kB / 0.9068 GB, free: 2.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006311/1.438, allocations: 163.9 kB / 0.907 GB, free: 2.355 MB / 442.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.001485/1.44, allocations: 0.7983 MB / 0.9077 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/1.44, allocations: 47.91 kB / 0.9078 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.44, allocations: 0 / 0.9078 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/1.44, allocations: 20 kB / 0.9078 GB, free: 1.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/1.44, allocations: 16.05 kB / 0.9078 GB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/1.441, allocations: 233.2 kB / 0.908 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.441, allocations: 0.7305 MB / 0.9088 GB, free: 496 kB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/1.441, allocations: 0 / 0.9088 GB, free: 496 kB / 442.7 MB Notification: Performance of Templates: time 0.2556/1.697, allocations: 6.693 MB / 0.9153 GB, free: 162.4 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)