Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 119.1 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 209 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.154/1.154, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1722/0.1722, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.141e-05, allocations: 2.281 kB / 481.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001/0.00102, allocations: 0.5014 MB / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.002483, allocations: 1.397 MB / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.002511, allocations: 0 / 483.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.002529, allocations: 7.938 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.673e-05/0.002554, allocations: 0 / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.003107, allocations: 231.3 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.652e-05/0.003152, allocations: 4 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.887e-05/0.003186, allocations: 0 / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.003209, allocations: 15.97 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.678e-05/0.00324, allocations: 0 / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.003253, allocations: 0 / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.00359, allocations: 279.6 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of combineBinaries: time 2.738e-05/0.003625, allocations: 15.84 kB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.238e-06/0.003636, allocations: 11.91 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-06/0.003649, allocations: 0 / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.173e-06/0.00366, allocations: 3.938 kB / 484.3 MB, free: 1.664 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.0002353/0.003899, allocations: 185.1 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of FunctionAlias: time 4.243e-05/0.003947, allocations: 15.94 kB / 484.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Early Inline: time 5.942e-05/0.004012, allocations: 68.36 kB / 484.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simplify1: time 1.485e-05/0.004033, allocations: 11.97 kB / 484.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Alias: time 0.0002133/0.004251, allocations: 124.9 kB / 484.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simplify2: time 5.099e-06/0.004264, allocations: 0.5625 kB / 484.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Events: time 3.562e-05/0.004306, allocations: 27.86 kB / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Detect States: time 4.432e-05/0.004357, allocations: 32.17 kB / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Partitioning: time 3.403e-05/0.004397, allocations: 20.12 kB / 484.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Causalize: time 9.245e-05/0.004494, allocations: 60.03 kB / 484.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 5.16e-05/0.004558, allocations: 56.36 kB / 484.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Inline: time 6.903e-05/0.004632, allocations: 76.44 kB / 485 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Partitioning: time 8.696e-06/0.004647, allocations: 8.125 kB / 485 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of Cleanup: time 1.192e-05/0.004663, allocations: 16.19 kB / 485 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Causalize: time 7.999e-05/0.004748, allocations: 68.03 kB / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Tearing: time 5.58e-06/0.004762, allocations: 0 / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Initialization: time 3.61e-07/0.004766, allocations: 0 / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Tearing: time 8.32e-07/0.004771, allocations: 0 / 485.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Categorize: time 7.434e-06/0.004782, allocations: 7.984 kB / 485.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of Solve: time 2.519e-05/0.004811, allocations: 3.938 kB / 485.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Jacobian: time 2.104e-06/0.004818, allocations: 0 / 485.1 MB, free: 0.6016 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 1.984e-05/0.004844, allocations: 20.3 kB / 485.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006066/0.005455, allocations: 0.8842 MB / 486 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.002592/0.008057, allocations: 1.14 MB / 487.1 MB, free: 14.54 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile make -j1 -f ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.o ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.o ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:114:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:115:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:118:40: error: use of undeclared identifier '_OMC_LIT2' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT2); ^ ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:135:33: error: use of undeclared identifier '_OMC_LIT3' tmpMeta9 = stringAppend(_OMC_LIT3,tmp8); ^ ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:136:43: error: use of undeclared identifier '_OMC_LIT4' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT4); ^ ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.c:139:44: error: use of undeclared identifier '_OMC_LIT5' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT5); ^ 6 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_functions.o] Error 1