Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 107.3 kB / 18.46 MB, free: 4.633 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.001064/0.001064, allocations: 193.4 kB / 19.39 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.254e-05, allocations: 5.375 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002514/0.002562, allocations: 0.4934 MB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.005861, allocations: 1.342 MB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.005913, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.005946, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.006019, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.007271, allocations: 227.2 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.419e-05/0.007362, allocations: 11.98 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.007432, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.007473, allocations: 7.938 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.007536, allocations: 7.969 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.007574, allocations: 3.938 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007421/0.008328, allocations: 275.6 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of combineBinaries: time 5.341e-05/0.008399, allocations: 11.84 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.098e-05/0.008426, allocations: 7.906 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.008451, allocations: 0 / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.425e-05/0.008492, allocations: 4 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0004514/0.008954, allocations: 189.1 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.515e-05/0.009064, allocations: 19.94 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001243/0.009203, allocations: 64.34 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplify1: time 2.108e-05/0.009241, allocations: 0 / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Alias: time 0.0004528/0.009713, allocations: 148.7 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplify2: time 1.024e-05/0.009738, allocations: 0 / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Events: time 6.202e-05/0.009811, allocations: 12.55 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001042/0.009929, allocations: 36.17 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Partitioning: time 7.058e-05/0.01001, allocations: 20.12 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001564/0.01019, allocations: 52.09 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001105/0.01032, allocations: 68.3 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of Inline: time 0.0001415/0.01047, allocations: 76.75 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Partitioning: time 2.571e-05/0.01052, allocations: 16.11 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Cleanup: time 1.313e-05/0.01054, allocations: 0 / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001978/0.01075, allocations: 72 kB / 474.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Tearing: time 7.955e-06/0.01077, allocations: 0 / 474.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Initialization: time 6.21e-07/0.01079, allocations: 0 / 474.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Tearing: time 1.794e-06/0.0108, allocations: 0 / 474.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Categorize: time 9.407e-06/0.01082, allocations: 4 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Solve: time 5.163e-05/0.01088, allocations: 7.984 kB / 474.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Jacobian: time 8.335e-06/0.0109, allocations: 0 / 474.3 MB, free: 9.781 MB / 350.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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {$SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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 6.327e-05/0.01097, allocations: 30.42 kB / 474.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of SimCode: time 0.00126/0.01225, allocations: 0.8878 MB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Templates: time 0.005939/0.0182, allocations: 1.104 MB / 476.3 MB, free: 7.746 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3 -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 ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3 -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 ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:113:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:114:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:117:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:134:33: error: use of undeclared identifier '_OMC_LIT3' tmpMeta9 = stringAppend(_OMC_LIT3,tmp8); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:135:43: error: use of undeclared identifier '_OMC_LIT4' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:138:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT5); ^ 6 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.o] Error 1