Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 180 kB / 8.479 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 83.72 kB / 262.1 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.924e-06, allocations: 0 / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 47.57 MB / 362.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4935/0.6191, allocations: 189.3 MB / 0.5389 GB, free: 4.598 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.6195, allocations: 72.03 kB / 0.539 GB, free: 4.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.3857/1.005, allocations: 46.06 MB / 0.5839 GB, free: 140.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/1.005, allocations: 0 / 0.5839 GB, free: 140.8 MB / 410.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.0009017/1.006, allocations: 489 kB / 0.5844 GB, free: 140.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.006, allocations: 11.16 kB / 0.5844 GB, free: 140.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/1.006, allocations: 5.531 kB / 0.5844 GB, free: 140.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/1.007, allocations: 193.5 kB / 0.5846 GB, free: 140.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/1.007, allocations: 2.875 kB / 0.5846 GB, free: 140.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/1.007, allocations: 0 / 0.5846 GB, free: 140.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.435e-05/1.007, allocations: 12.5 kB / 0.5846 GB, free: 140.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/1.007, allocations: 58.8 kB / 0.5847 GB, free: 140 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.007, allocations: 0 / 0.5847 GB, free: 140 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.007, allocations: 0 / 0.5847 GB, free: 140 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.007, allocations: 3.906 kB / 0.5847 GB, free: 140 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/1.007, allocations: 153.2 kB / 0.5848 GB, free: 139.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/1.007, allocations: 73.98 kB / 0.5849 GB, free: 139.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/1.007, allocations: 19.94 kB / 0.5849 GB, free: 139.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.008, allocations: 1.917 MB / 0.5868 GB, free: 137.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/1.008, allocations: 35.91 kB / 0.5868 GB, free: 137.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/1.008, allocations: 0 / 0.5868 GB, free: 137.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000898/1.009, allocations: 152.1 kB / 0.587 GB, free: 137.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/1.009, allocations: 77.11 kB / 0.587 GB, free: 137.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/1.009, allocations: 98.19 kB / 0.5871 GB, free: 137.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/1.009, allocations: 26.7 kB / 0.5872 GB, free: 137.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/1.009, allocations: 85.09 kB / 0.5872 GB, free: 137.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/1.009, allocations: 25.75 kB / 0.5873 GB, free: 137.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.009, allocations: 1.031 kB / 0.5873 GB, free: 137.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/1.01, allocations: 319.8 kB / 0.5876 GB, free: 136.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/1.01, allocations: 8.312 kB / 0.5876 GB, free: 136.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/1.01, allocations: 30.53 kB / 0.5876 GB, free: 136.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/1.01, allocations: 102.6 kB / 0.5877 GB, free: 136.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.01, allocations: 5.094 kB / 0.5877 GB, free: 136.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007258/1.011, allocations: 154.7 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.011, allocations: 4.562 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.011, allocations: 1 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.011, allocations: 2.062 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/1.011, allocations: 20.83 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.011, allocations: 1.219 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/1.011, allocations: 13.92 kB / 0.5879 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.011, allocations: 3.312 kB / 0.5879 GB, free: 136.6 MB / 410.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 7.509e-05/1.011, allocations: 114.1 kB / 0.588 GB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/1.011, allocations: 7.188 kB / 0.588 GB, free: 136.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009067/1.012, allocations: 204.5 kB / 0.5882 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.012, allocations: 6.844 kB / 0.5882 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/1.012, allocations: 0 / 0.5882 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.012, allocations: 3.984 kB / 0.5882 GB, free: 136.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/1.012, allocations: 147.7 kB / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.012, allocations: 4 kB / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/1.013, allocations: 15.17 kB / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.013, allocations: 288 / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.013, allocations: 3.938 kB / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.013, allocations: 3.125 kB / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.013, allocations: 0 / 0.5884 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007971/1.013, allocations: 239.1 kB / 0.5886 GB, free: 136 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/1.013, allocations: 95.22 kB / 0.5887 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/1.013, allocations: 7.781 kB / 0.5887 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/1.014, allocations: 0 / 0.5887 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/1.014, allocations: 7.578 kB / 0.5887 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/1.014, allocations: 0 / 0.5887 GB, free: 135.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.373e-05/1.014, allocations: 89.84 kB / 0.5888 GB, free: 135.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009042/1.015, allocations: 242.2 kB / 0.589 GB, free: 135.6 MB / 410.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.0009319/1.016, allocations: 429.9 kB / 0.5894 GB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/1.016, allocations: 43.92 kB / 0.5895 GB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.016, allocations: 3.938 kB / 0.5895 GB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/1.016, allocations: 23.94 kB / 0.5895 GB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/1.016, allocations: 11.97 kB / 0.5895 GB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.039, allocations: 12.4 MB / 0.6016 GB, free: 122.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.039, allocations: 0.7149 MB / 0.6023 GB, free: 122.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.039, allocations: 3.938 kB / 0.6023 GB, free: 122.1 MB / 410.7 MB Notification: Performance of Templates: time 0.007789/1.047, allocations: 4.373 MB / 0.6066 GB, free: 117.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_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.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.o Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_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.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.o Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:944:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:944:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:944:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:1199:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:1199:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.c:1199:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 2 warnings and 2 errors generated. make: *** [: Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_functions.o] Error 1