Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.6585/0.6585, allocations: 110.8 MB / 118 MB, free: 14.62 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001685/0.001685, allocations: 156 kB / 143.7 MB, free: 4.953 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.25e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03931/0.03933, allocations: 25.17 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.185, allocations: 70.72 MB / 269.3 MB, free: 6.129 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.1853, allocations: 61.62 kB / 269.4 MB, free: 6.07 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.09781/0.2831, allocations: 36.57 MB / 306 MB, free: 1.387 MB / 218.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.2831, allocations: 4 kB / 306 MB, free: 1.383 MB / 218.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.0008108/0.284, allocations: 493.8 kB / 306.5 MB, free: 0.8555 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.284, allocations: 8.031 kB / 306.5 MB, free: 0.8477 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.2841, allocations: 7.906 kB / 306.5 MB, free: 0.8398 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2843, allocations: 187 kB / 306.6 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2844, allocations: 3.906 kB / 306.7 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2844, allocations: 8 kB / 306.7 MB, free: 0.6055 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.397e-05/0.2844, allocations: 11.94 kB / 306.7 MB, free: 0.5938 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.267e-05/0.2845, allocations: 59.33 kB / 306.7 MB, free: 0.5234 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2846, allocations: 0 / 306.7 MB, free: 0.5234 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2846, allocations: 4 kB / 306.7 MB, free: 0.5195 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2846, allocations: 0 / 306.7 MB, free: 0.5195 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.2848, allocations: 151 kB / 306.9 MB, free: 340 kB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.285, allocations: 77.28 kB / 307 MB, free: 244 kB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.2851, allocations: 25.72 kB / 307 MB, free: 212 kB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.2865, allocations: 1.817 MB / 308.8 MB, free: 13.98 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2865, allocations: 38.56 kB / 308.8 MB, free: 13.94 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.2865, allocations: 0 / 308.8 MB, free: 13.94 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006476/0.2872, allocations: 113.6 kB / 308.9 MB, free: 13.82 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2873, allocations: 81.05 kB / 309 MB, free: 13.72 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2874, allocations: 105.5 kB / 309.1 MB, free: 13.61 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2874, allocations: 25.7 kB / 309.2 MB, free: 13.58 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.2874, allocations: 88.12 kB / 309.2 MB, free: 13.49 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.2875, allocations: 11.81 kB / 309.3 MB, free: 13.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.2875, allocations: 0 / 309.3 MB, free: 13.48 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2876, allocations: 322.8 kB / 309.6 MB, free: 13.16 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.2876, allocations: 4 kB / 309.6 MB, free: 13.15 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.2877, allocations: 21.72 kB / 309.6 MB, free: 13.12 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.2882, allocations: 71.98 kB / 309.7 MB, free: 13.05 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.2882, allocations: 11.84 kB / 309.7 MB, free: 13.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000516/0.2887, allocations: 113.5 kB / 309.8 MB, free: 12.93 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2887, allocations: 7.984 kB / 309.8 MB, free: 12.92 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2887, allocations: 0 / 309.8 MB, free: 12.92 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2887, allocations: 4 kB / 309.8 MB, free: 12.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2889, allocations: 12 kB / 309.8 MB, free: 12.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2889, allocations: 320 / 309.8 MB, free: 12.9 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.289, allocations: 11.89 kB / 309.8 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.289, allocations: 4 kB / 309.8 MB, free: 12.89 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 7.104e-05/0.2891, allocations: 104.9 kB / 309.9 MB, free: 12.78 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.2891, allocations: 7.906 kB / 309.9 MB, free: 12.77 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.2898, allocations: 185.4 kB / 310.1 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.2899, allocations: 4 kB / 310.1 MB, free: 12.57 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2899, allocations: 0 / 310.1 MB, free: 12.57 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2899, allocations: 0 / 310.1 MB, free: 12.57 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2901, allocations: 150.1 kB / 310.3 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2901, allocations: 4 kB / 310.3 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.2902, allocations: 15.98 kB / 310.3 MB, free: 12.37 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2902, allocations: 0 / 310.3 MB, free: 12.37 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2902, allocations: 4 kB / 310.3 MB, free: 12.37 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2902, allocations: 7.922 kB / 310.3 MB, free: 12.36 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2902, allocations: 0 / 310.3 MB, free: 12.36 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005828/0.2908, allocations: 187.3 kB / 310.5 MB, free: 12.15 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.2909, allocations: 89.09 kB / 310.6 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.2909, allocations: 11.89 kB / 310.6 MB, free: 12.03 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.291, allocations: 128 / 310.6 MB, free: 12.03 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.291, allocations: 11.98 kB / 310.6 MB, free: 12.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.291, allocations: 4 kB / 310.6 MB, free: 12.02 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.814e-05/0.2911, allocations: 83.28 kB / 310.7 MB, free: 11.93 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006175/0.2917, allocations: 179.7 kB / 310.9 MB, free: 11.76 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.001012/0.2927, allocations: 376.9 kB / 311.2 MB, free: 11.38 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2929, allocations: 27.98 kB / 311.2 MB, free: 11.36 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2929, allocations: 3.938 kB / 311.3 MB, free: 11.35 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.293, allocations: 27.94 kB / 311.3 MB, free: 11.32 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.2932, allocations: 23.97 kB / 311.3 MB, free: 11.3 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.2936, allocations: 88.64 kB / 311.4 MB, free: 11.19 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.294, allocations: 0.7226 MB / 312.1 MB, free: 10.44 MB / 234.7 MB Notification: Performance of SimCode: time 2.81e-07/0.294, allocations: 0 / 312.1 MB, free: 10.44 MB / 234.7 MB Notification: Performance of Templates: time 0.007827/0.3018, allocations: 3.616 MB / 315.7 MB, free: 6.828 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)