Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002455/0.002455, allocations: 180.8 kB / 8.151 MB, free: 2.184 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.785/1.785, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 87.25 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.27e-05, allocations: 4 kB / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.6941, allocations: 189.3 MB / 0.5382 GB, free: 87.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.6944, allocations: 69.88 kB / 0.5383 GB, free: 87.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1576/0.852, allocations: 46.07 MB / 0.5833 GB, free: 52.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.8521, allocations: 0 / 0.5833 GB, free: 52.19 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.0009134/0.853, allocations: 497.7 kB / 0.5837 GB, free: 51.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8531, allocations: 8.031 kB / 0.5837 GB, free: 51.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.8531, allocations: 0 / 0.5837 GB, free: 51.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.8534, allocations: 183.7 kB / 0.5839 GB, free: 51.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.8534, allocations: 4 kB / 0.5839 GB, free: 51.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.8534, allocations: 6.344 kB / 0.5839 GB, free: 51.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.924e-05/0.8535, allocations: 19.8 kB / 0.5839 GB, free: 51.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.8536, allocations: 55.22 kB / 0.584 GB, free: 51.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8537, allocations: 0 / 0.584 GB, free: 51.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8537, allocations: 3.906 kB / 0.584 GB, free: 51.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.8537, allocations: 3.984 kB / 0.584 GB, free: 51.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.8539, allocations: 147 kB / 0.5841 GB, free: 51.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.8542, allocations: 76.81 kB / 0.5842 GB, free: 51.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.8542, allocations: 25.89 kB / 0.5842 GB, free: 51.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.8555, allocations: 1.907 MB / 0.5861 GB, free: 48.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.8556, allocations: 38.55 kB / 0.5861 GB, free: 48.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/0.8556, allocations: 0 / 0.5861 GB, free: 48.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001266/0.8569, allocations: 148.9 kB / 0.5863 GB, free: 48.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.8569, allocations: 77.11 kB / 0.5864 GB, free: 48.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.857, allocations: 102.3 kB / 0.5865 GB, free: 48.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.8571, allocations: 25.7 kB / 0.5865 GB, free: 48.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.8571, allocations: 150.6 kB / 0.5866 GB, free: 48.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.8572, allocations: 23.59 kB / 0.5866 GB, free: 48.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.8572, allocations: 0 / 0.5866 GB, free: 48.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.8573, allocations: 322.8 kB / 0.587 GB, free: 47.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.8573, allocations: 8 kB / 0.587 GB, free: 47.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/0.8574, allocations: 31.25 kB / 0.587 GB, free: 47.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.8584, allocations: 99.67 kB / 0.5871 GB, free: 47.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8584, allocations: 4 kB / 0.5871 GB, free: 47.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001106/0.8595, allocations: 164.8 kB / 0.5872 GB, free: 47.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8595, allocations: 5.781 kB / 0.5873 GB, free: 47.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8596, allocations: 0 / 0.5873 GB, free: 47.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.8596, allocations: 4 kB / 0.5873 GB, free: 47.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.8597, allocations: 12 kB / 0.5873 GB, free: 47.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8598, allocations: 3.984 kB / 0.5873 GB, free: 47.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.8598, allocations: 4 kB / 0.5873 GB, free: 47.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.8599, allocations: 7.906 kB / 0.5873 GB, free: 47.51 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 5.549e-05/0.8599, allocations: 29.64 kB / 0.5873 GB, free: 47.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.86, allocations: 11.97 kB / 0.5873 GB, free: 47.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.8614, allocations: 208.8 kB / 0.5875 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8614, allocations: 4 kB / 0.5875 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8614, allocations: 0 / 0.5875 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8614, allocations: 4 kB / 0.5875 GB, free: 47.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.8616, allocations: 153.9 kB / 0.5877 GB, free: 47.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8616, allocations: 0 / 0.5877 GB, free: 47.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.8618, allocations: 15.8 kB / 0.5877 GB, free: 47.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.8618, allocations: 4 kB / 0.5877 GB, free: 47.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.8618, allocations: 3.938 kB / 0.5877 GB, free: 47.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8618, allocations: 3.938 kB / 0.5877 GB, free: 47.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8619, allocations: 0.6562 kB / 0.5877 GB, free: 47.05 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001246/0.8631, allocations: 224.9 kB / 0.5879 GB, free: 46.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-05/0.8632, allocations: 100.5 kB / 0.588 GB, free: 46.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.8633, allocations: 4 kB / 0.588 GB, free: 46.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.8633, allocations: 3.984 kB / 0.588 GB, free: 46.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.8634, allocations: 12.45 kB / 0.588 GB, free: 46.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.8634, allocations: 0 / 0.588 GB, free: 46.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.628e-05/0.8635, allocations: 86.91 kB / 0.5881 GB, free: 46.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009465/0.8645, allocations: 238.8 kB / 0.5883 GB, free: 46.39 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.001348/0.8658, allocations: 440.9 kB / 0.5888 GB, free: 45.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.866, allocations: 39.36 kB / 0.5888 GB, free: 45.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.866, allocations: 4.125 kB / 0.5888 GB, free: 45.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.8661, allocations: 27.67 kB / 0.5888 GB, free: 45.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.8664, allocations: 7.688 kB / 0.5888 GB, free: 45.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03901/0.9054, allocations: 12.43 MB / 0.601 GB, free: 34.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.9057, allocations: 0.7188 MB / 0.6017 GB, free: 33.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9057, allocations: 0 / 0.6017 GB, free: 33.82 MB / 394.7 MB Notification: Performance of Templates: time 0.01103/0.9167, allocations: 4.608 MB / 0.6062 GB, free: 29.22 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TFunctions.cpp:275:26: error: use of undeclared identifier \'poly_Cp_\'\n double tmp28_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TFunctions.cpp:275:39: error: use of undeclared identifier \'poly_Cp_\'\n double tmp28_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_TCalcHelperMain.o] Error 1\n'