Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.002003/0.002003, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.356/1.356, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2277/0.2277, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.407e-05, allocations: 4.531 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001851/0.001894, allocations: 497.3 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.004207, allocations: 1.346 MB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.004245, allocations: 0 / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.004273, allocations: 0 / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.004338, allocations: 4 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.00525, allocations: 229.9 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.005324, allocations: 8 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.005396, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.005427, allocations: 7.922 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.005477, allocations: 4 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.005494, allocations: 0 / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.005966, allocations: 271.6 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of combineBinaries: time 4.825e-05/0.006024, allocations: 19.83 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.891e-06/0.006035, allocations: 7.906 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.006056, allocations: 4 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.089e-05/0.006071, allocations: 0 / 473.5 MB, free: 10.86 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0003299/0.006406, allocations: 173.1 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FunctionAlias: time 7.819e-05/0.006493, allocations: 27.83 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Early Inline: time 8.647e-05/0.006586, allocations: 60.34 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simplify1: time 2.092e-05/0.006613, allocations: 4 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Alias: time 0.0002912/0.006912, allocations: 96.64 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplify2: time 6.202e-06/0.006928, allocations: 0 / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Detect States: time 6.594e-05/0.006999, allocations: 32.19 kB / 473.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Events: time 5.308e-05/0.007058, allocations: 16.12 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Partitioning: time 7.83e-05/0.007145, allocations: 24.11 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001196/0.007271, allocations: 48.09 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 6.817e-05/0.007348, allocations: 68.34 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Inline: time 0.0001762/0.007531, allocations: 92.34 kB / 474.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Partitioning: time 1.403e-05/0.007553, allocations: 12.12 kB / 474.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Cleanup: time 1.285e-05/0.007571, allocations: 11.92 kB / 474.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001038/0.00768, allocations: 52.11 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Tearing: time 1.088e-05/0.007701, allocations: 4.562 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.007707, allocations: 0 / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Tearing: time 1.683e-06/0.007714, allocations: 0 / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Categorize: time 1.265e-05/0.007731, allocations: 3.984 kB / 474.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Solve: time 4.379e-05/0.007779, allocations: 15.92 kB / 474.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Jacobian: time 5.1e-06/0.007789, allocations: 3.984 kB / 474.2 MB, free: 9.844 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 3.581e-05/0.007831, allocations: 18.28 kB / 474.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008878/0.008726, allocations: 0.8889 MB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of Templates: time 0.004396/0.01313, allocations: 1.116 MB / 476.3 MB, free: 7.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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_Test01RegFun3 -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.Test01RegFun3.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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_Test01RegFun3 -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.Test01RegFun3_functions.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_functions.c ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_functions.c:113:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_functions.c:114:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_functions.c:117:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_functions.c:134:33: error: use of undeclared identifier '_OMC_LIT3' tmpMeta9 = stringAppend(_OMC_LIT3,tmp8); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_functions.c:135:43: error: use of undeclared identifier '_OMC_LIT4' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_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.Test01RegFun3_functions.o] Error 1