Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2.2_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/Complex 3.2.2+maint.om/package.mo): time 0.001577/0.001577, allocations: 189.8 kB / 8.136 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.135/1.135, allocations: 194.2 MB / 202.8 MB, free: 9.133 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.00186/0.00186, allocations: 114.6 kB / 247.7 MB, free: 6.191 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/7.955e-06, allocations: 4 kB / 297.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07346/0.07348, allocations: 44.47 MB / 342 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.4808, allocations: 186.4 MB / 0.516 GB, free: 137.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4811, allocations: 74.7 kB / 0.5161 GB, free: 137.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1028/0.5838, allocations: 45.86 MB / 0.5609 GB, free: 111.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5839, allocations: 3.938 kB / 0.5609 GB, free: 111.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.0006846/0.5846, allocations: 486 kB / 0.5614 GB, free: 111.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.5846, allocations: 19.97 kB / 0.5614 GB, free: 111.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.5847, allocations: 3.906 kB / 0.5614 GB, free: 111.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.5848, allocations: 190.9 kB / 0.5616 GB, free: 111 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5849, allocations: 4 kB / 0.5616 GB, free: 111 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.5849, allocations: 0 / 0.5616 GB, free: 111 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.934e-05/0.585, allocations: 12 kB / 0.5616 GB, free: 111 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.5851, allocations: 59.39 kB / 0.5616 GB, free: 110.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5851, allocations: 0 / 0.5616 GB, free: 110.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.5851, allocations: 7.938 kB / 0.5617 GB, free: 110.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5851, allocations: 0 / 0.5617 GB, free: 110.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.5853, allocations: 154.9 kB / 0.5618 GB, free: 110.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.5855, allocations: 65.38 kB / 0.5619 GB, free: 110.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.5855, allocations: 21.78 kB / 0.5619 GB, free: 110.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000847/0.5864, allocations: 1.837 MB / 0.5637 GB, free: 108.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.5864, allocations: 35.72 kB / 0.5637 GB, free: 108.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.5864, allocations: 3.984 kB / 0.5637 GB, free: 108.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008949/0.5873, allocations: 141.5 kB / 0.5639 GB, free: 108.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.5873, allocations: 81.11 kB / 0.5639 GB, free: 108 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.5874, allocations: 106.2 kB / 0.564 GB, free: 107.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.5874, allocations: 29.7 kB / 0.5641 GB, free: 107.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.051e-05/0.5874, allocations: 80.14 kB / 0.5641 GB, free: 107.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.5875, allocations: 27.64 kB / 0.5642 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.5875, allocations: 0 / 0.5642 GB, free: 107.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.5875, allocations: 318.8 kB / 0.5645 GB, free: 107.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.5875, allocations: 4 kB / 0.5645 GB, free: 107.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.5876, allocations: 35.42 kB / 0.5645 GB, free: 107.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.5883, allocations: 95.88 kB / 0.5646 GB, free: 107.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5883, allocations: 1.781 kB / 0.5646 GB, free: 107.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007391/0.589, allocations: 153.4 kB / 0.5647 GB, free: 107.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.589, allocations: 9.25 kB / 0.5647 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5891, allocations: 3.984 kB / 0.5648 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5891, allocations: 0 / 0.5648 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.5892, allocations: 12 kB / 0.5648 GB, free: 107.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.5892, allocations: 11.38 kB / 0.5648 GB, free: 107.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.5892, allocations: 15.89 kB / 0.5648 GB, free: 107.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.5893, allocations: 8 kB / 0.5648 GB, free: 107.1 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.044e-05/0.5893, allocations: 104.8 kB / 0.5649 GB, free: 107 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.5893, allocations: 7.906 kB / 0.5649 GB, free: 107 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.5902, allocations: 213.3 kB / 0.5651 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5902, allocations: 4 kB / 0.5651 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5903, allocations: 0 / 0.5651 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5903, allocations: 3.984 kB / 0.5651 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.942e-05/0.5903, allocations: 146.1 kB / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5904, allocations: 0 / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.5905, allocations: 15.98 kB / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5905, allocations: 0 / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5905, allocations: 0.6562 kB / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5905, allocations: 4 kB / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5905, allocations: 4 kB / 0.5653 GB, free: 106.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008082/0.5913, allocations: 227.3 kB / 0.5655 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.5914, allocations: 93.08 kB / 0.5656 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.5914, allocations: 5.219 kB / 0.5656 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.5915, allocations: 7.953 kB / 0.5656 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.5915, allocations: 8.281 kB / 0.5656 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.5915, allocations: 3.938 kB / 0.5656 GB, free: 106.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.662e-05/0.5915, allocations: 91.27 kB / 0.5657 GB, free: 106.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006287/0.5922, allocations: 227.7 kB / 0.5659 GB, free: 105.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 (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.000885/0.5931, allocations: 429.6 kB / 0.5663 GB, free: 105.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.427e-05/0.5932, allocations: 39.92 kB / 0.5664 GB, free: 105.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5932, allocations: 0 / 0.5664 GB, free: 105.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.5932, allocations: 27.98 kB / 0.5664 GB, free: 105.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.5934, allocations: 4 kB / 0.5664 GB, free: 105.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.6175, allocations: 12.38 MB / 0.5785 GB, free: 92.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.6177, allocations: 0.711 MB / 0.5792 GB, free: 92.19 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6177, allocations: 0 / 0.5792 GB, free: 92.19 MB / 394.7 MB Notification: Performance of Templates: time 0.007355/0.6251, allocations: 4.292 MB / 0.5834 GB, free: 87.9 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.o Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.o Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:280:86: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:280:191: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:921:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:921:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:921:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:1176:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:1176:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:1176:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 2 warnings and 2 errors generated. make: *** [: Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.o] Error 1