Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.00149/0.00149, allocations: 189.8 kB / 8.135 MB, free: 2.199 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.112/1.112, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001817/0.001817, allocations: 120.9 kB / 247.7 MB, free: 6.418 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.751e-06, allocations: 0 / 297.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06857/0.06859, allocations: 44.49 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.897/0.9657, allocations: 0.5781 GB / 0.9121 GB, free: 32.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.9659, allocations: 78.45 kB / 0.9122 GB, free: 32.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2202/1.186, allocations: 40.82 MB / 0.9521 GB, free: 108.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/1.186, allocations: 5.969 kB / 0.9521 GB, free: 108.6 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.0004531/1.187, allocations: 439.8 kB / 0.9525 GB, free: 108.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/1.187, allocations: 9.594 kB / 0.9525 GB, free: 108.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/1.188, allocations: 116.6 kB / 0.9526 GB, free: 108.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/1.188, allocations: 195.2 kB / 0.9528 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.188, allocations: 7.875 kB / 0.9528 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/1.188, allocations: 0 / 0.9528 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.373e-05/1.188, allocations: 23.17 kB / 0.9528 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/1.188, allocations: 71.95 kB / 0.9529 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/1.188, allocations: 3.875 kB / 0.9529 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.188, allocations: 2.062 kB / 0.9529 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.188, allocations: 0 / 0.9529 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/1.188, allocations: 160.9 kB / 0.9531 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/1.189, allocations: 87.77 kB / 0.9531 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/1.189, allocations: 28.03 kB / 0.9532 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/1.189, allocations: 1.381 MB / 0.9545 GB, free: 106.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/1.189, allocations: 37.75 kB / 0.9546 GB, free: 106.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/1.189, allocations: 3.562 kB / 0.9546 GB, free: 106.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000632/1.19, allocations: 153.8 kB / 0.9547 GB, free: 106.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/1.19, allocations: 78.98 kB / 0.9548 GB, free: 106.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/1.19, allocations: 120.3 kB / 0.9549 GB, free: 106 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/1.19, allocations: 29.31 kB / 0.9549 GB, free: 106 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.207e-05/1.19, allocations: 87.36 kB / 0.955 GB, free: 105.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/1.19, allocations: 19.31 kB / 0.955 GB, free: 105.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/1.19, allocations: 0 / 0.955 GB, free: 105.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/1.19, allocations: 321.7 kB / 0.9553 GB, free: 105.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/1.19, allocations: 13.81 kB / 0.9553 GB, free: 105.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/1.19, allocations: 47.64 kB / 0.9554 GB, free: 105.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/1.191, allocations: 100.5 kB / 0.9555 GB, free: 105.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.191, allocations: 0 / 0.9555 GB, free: 105.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005502/1.191, allocations: 171.4 kB / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.191, allocations: 4.406 kB / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.191, allocations: 3.375 kB / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.191, allocations: 3.375 kB / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/1.191, allocations: 24.52 kB / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/1.191, allocations: 0 / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/1.192, allocations: 11.05 kB / 0.9557 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/1.192, allocations: 3.281 kB / 0.9557 GB, free: 105.5 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.736e-05/1.192, allocations: 112.3 kB / 0.9558 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.192, allocations: 5.781 kB / 0.9558 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/1.192, allocations: 205.1 kB / 0.956 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.192, allocations: 3.516 kB / 0.956 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.192, allocations: 0 / 0.956 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.192, allocations: 7.156 kB / 0.956 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/1.193, allocations: 152.5 kB / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.193, allocations: 0 / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/1.193, allocations: 17.67 kB / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.193, allocations: 0 / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.193, allocations: 3.969 kB / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.193, allocations: 0 / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.193, allocations: 0 / 0.9562 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006039/1.193, allocations: 228.4 kB / 0.9564 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/1.193, allocations: 95.89 kB / 0.9565 GB, free: 105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/1.194, allocations: 3.5 kB / 0.9565 GB, free: 105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/1.194, allocations: 9.656 kB / 0.9565 GB, free: 105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/1.194, allocations: 7.75 kB / 0.9565 GB, free: 105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.194, allocations: 6.562 kB / 0.9565 GB, free: 105 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.851e-05/1.194, allocations: 112.6 kB / 0.9566 GB, free: 104.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000561/1.194, allocations: 209.5 kB / 0.9568 GB, free: 104.9 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.001364/1.196, allocations: 0.9227 MB / 0.9577 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/1.196, allocations: 53.23 kB / 0.9578 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.196, allocations: 0 / 0.9578 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/1.196, allocations: 21.03 kB / 0.9578 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/1.196, allocations: 13.67 kB / 0.9578 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/1.197, allocations: 216.8 kB / 0.958 GB, free: 104.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.197, allocations: 0.727 MB / 0.9587 GB, free: 103.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/1.197, allocations: 0 / 0.9587 GB, free: 103.9 MB / 394.7 MB Notification: Performance of Templates: time 0.01086/1.208, allocations: 7.399 MB / 0.966 GB, free: 103.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)