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.0008985/0.0008986, allocations: 103.4 kB / 18.46 MB, free: 4.609 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.0008713/0.0008713, allocations: 193.3 kB / 19.4 MB, free: 3.688 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.276/1.276, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2084/0.2084, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.545e-05, allocations: 5.375 kB / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001142/0.001177, allocations: 0.4895 MB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.002911, allocations: 1.346 MB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.002944, allocations: 0 / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.002966, allocations: 3.938 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.185e-05/0.003012, allocations: 4 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.00366, allocations: 215.2 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.448e-05/0.003723, allocations: 15.91 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.003766, allocations: 4 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.003789, allocations: 3.938 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.00383, allocations: 7.984 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003846, allocations: 0 / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.004207, allocations: 271.6 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of combineBinaries: time 3.541e-05/0.004252, allocations: 15.84 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.099e-06/0.004262, allocations: 7.906 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.068e-05/0.004277, allocations: 0 / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.717e-06/0.004291, allocations: 4 kB / 473.5 MB, free: 10.87 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.0002695/0.004564, allocations: 184 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FunctionAlias: time 6.069e-05/0.004631, allocations: 19.89 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Early Inline: time 5.813e-05/0.004697, allocations: 60.3 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simplify1: time 1.793e-05/0.00472, allocations: 7.984 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Alias: time 0.0002134/0.004939, allocations: 84.73 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simplify2: time 6.021e-06/0.004953, allocations: 3.984 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Events: time 3.644e-05/0.004994, allocations: 8.172 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Detect States: time 5.708e-05/0.005058, allocations: 48.12 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Partitioning: time 3.787e-05/0.005102, allocations: 16.11 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Causalize: time 0.000104/0.005211, allocations: 56.09 kB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 5.697e-05/0.005276, allocations: 64.34 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Inline: time 9.865e-05/0.005381, allocations: 96.36 kB / 474.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of Partitioning: time 9.198e-06/0.005396, allocations: 8.125 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Cleanup: time 8.186e-06/0.005408, allocations: 3.938 kB / 474.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001403/0.005554, allocations: 72.28 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Tearing: time 5.37e-06/0.005568, allocations: 0 / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Initialization: time 3.4e-07/0.005575, allocations: 4 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Tearing: time 9.72e-07/0.00558, allocations: 0 / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Categorize: time 5.48e-06/0.00559, allocations: 0 / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Solve: time 3.388e-05/0.005629, allocations: 15.91 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Jacobian: time 2.665e-06/0.005637, allocations: 0 / 474.2 MB, free: 9.852 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 2.922e-05/0.00567, allocations: 20.66 kB / 474.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007155/0.00639, allocations: 0.8801 MB / 475.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of Templates: time 0.003113/0.009513, allocations: 1.116 MB / 476.3 MB, free: 7.82 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