Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 103.6 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 191.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/1.975e-05, allocations: 3.266 kB / 329.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002372/0.0024, allocations: 1.375 MB / 330.5 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.5498/0.5522, allocations: 150.8 MB / 481.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.5523, allocations: 4 kB / 481.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.028e-05/0.5524, allocations: 0 / 481.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.5541, allocations: 352.2 kB / 481.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.5566, allocations: 0.8089 MB / 482.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.5568, allocations: 79.62 kB / 482.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.5569, allocations: 7.938 kB / 482.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.557, allocations: 35.84 kB / 482.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.5571, allocations: 35.84 kB / 482.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.5571, allocations: 4 kB / 482.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.5595, allocations: 1.298 MB / 483.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001168/0.5597, allocations: 95.7 kB / 484 MB, free: 11.32 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 5.669e-05/0.5597, allocations: 55.3 kB / 484 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.5597, allocations: 8 kB / 484 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.306e-05/0.5598, allocations: 0 / 484 MB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0005327/0.5603, allocations: 331.9 kB / 484.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FunctionAlias: time 3.221e-05/0.5603, allocations: 15.89 kB / 484.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0003851/0.5607, allocations: 253.6 kB / 484.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simplify1: time 1.599e-05/0.5608, allocations: 7.984 kB / 484.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Alias: time 8.863e-05/0.5609, allocations: 68.59 kB / 484.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simplify2: time 1.637e-05/0.5609, allocations: 7.984 kB / 484.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Events: time 0.0001115/0.561, allocations: 31.86 kB / 484.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Detect States: time 0.0001641/0.5612, allocations: 68.16 kB / 484.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Partitioning: time 9.552e-05/0.5613, allocations: 48.11 kB / 484.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Causalize: time 0.0003269/0.5616, allocations: 152 kB / 485 MB, free: 10.1 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001701/0.5618, allocations: 136.3 kB / 485.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of Inline: time 0.001178/0.563, allocations: 0.8325 MB / 486 MB, free: 9.074 MB / 382.1 MB Notification: Performance of Partitioning: time 2.431e-05/0.563, allocations: 20.12 kB / 486 MB, free: 9.047 MB / 382.1 MB Notification: Performance of Cleanup: time 4.23e-05/0.5631, allocations: 19.97 kB / 486 MB, free: 9.027 MB / 382.1 MB Notification: Performance of Causalize: time 0.0004876/0.5636, allocations: 318.3 kB / 486.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of Tearing: time 7.304e-06/0.5636, allocations: 0 / 486.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of Initialization: time 3.1e-07/0.5636, allocations: 0 / 486.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of Tearing: time 1.022e-06/0.5636, allocations: 0 / 486.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of Categorize: time 1.126e-05/0.5636, allocations: 4 kB / 486.3 MB, free: 8.711 MB / 382.1 MB Notification: Performance of Solve: time 0.0001291/0.5637, allocations: 59.94 kB / 486.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0002325/0.564, allocations: 249.9 kB / 486.6 MB, free: 8.371 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {h1, s1} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.562e-05/0.564, allocations: 19.05 kB / 486.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of SimCode: time 0.003045/0.5671, allocations: 1.861 MB / 488.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of Templates: time 0.01336/0.5805, allocations: 6.57 MB / 495.1 MB, free: 15.9 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX -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.Inverse_sh_TX.o Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX -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.Inverse_sh_TX_functions.o Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:21:16: error: use of undeclared identifier '_OMC_LIT7' tmp1._name = _OMC_LIT7; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:26:16: error: use of undeclared identifier '_OMC_LIT8' tmp1._alow = _OMC_LIT8; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:27:16: error: use of undeclared identifier '_OMC_LIT9' tmp1._blow = _OMC_LIT9; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:28:17: error: use of undeclared identifier '_OMC_LIT10' tmp1._ahigh = _OMC_LIT10; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:29:17: error: use of undeclared identifier '_OMC_LIT11' tmp1._bhigh = _OMC_LIT11; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:63:16: error: use of undeclared identifier '_OMC_LIT7' tmp1._name = _OMC_LIT7; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:68:16: error: use of undeclared identifier '_OMC_LIT8' tmp1._alow = _OMC_LIT8; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:69:16: error: use of undeclared identifier '_OMC_LIT9' tmp1._blow = _OMC_LIT9; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:70:17: error: use of undeclared identifier '_OMC_LIT10' tmp1._ahigh = _OMC_LIT10; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:71:17: error: use of undeclared identifier '_OMC_LIT11' tmp1._bhigh = _OMC_LIT11; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:142:24: error: use of undeclared identifier '_OMC_LIT7' tmp4._name = _OMC_LIT7; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:147:24: error: use of undeclared identifier '_OMC_LIT8' tmp4._alow = _OMC_LIT8; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:148:24: error: use of undeclared identifier '_OMC_LIT9' tmp4._blow = _OMC_LIT9; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:149:25: error: use of undeclared identifier '_OMC_LIT10' tmp4._ahigh = _OMC_LIT10; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:150:25: error: use of undeclared identifier '_OMC_LIT11' tmp4._bhigh = _OMC_LIT11; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:157:24: error: use of undeclared identifier '_OMC_LIT18' tmp5._name = _OMC_LIT18; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:162:24: error: use of undeclared identifier '_OMC_LIT21' tmp5._alow = _OMC_LIT21; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:163:24: error: use of undeclared identifier '_OMC_LIT22' tmp5._blow = _OMC_LIT22; ^ Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.c:164:25: error: use of undeclared identifier '_OMC_LIT23' tmp5._ahigh = _OMC_LIT23; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.o] Error 1