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.0009627/0.0009629, allocations: 106.9 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.0009957/0.0009958, allocations: 179 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.354/1.354, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2243/0.2243, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.695e-05, allocations: 5.516 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001377/0.001413, allocations: 497.3 kB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.003254, allocations: 1.358 MB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.003291, allocations: 0 / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.003314, allocations: 0 / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.003356, allocations: 0 / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.004044, allocations: 222 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.004111, allocations: 7.984 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.004158, allocations: 0 / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.004185, allocations: 11.94 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.004232, allocations: 4 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.00425, allocations: 3.938 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.004623, allocations: 275.6 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of combineBinaries: time 3.44e-05/0.004666, allocations: 15.83 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.091e-06/0.004678, allocations: 7.891 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.321e-05/0.004696, allocations: 4 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.029e-05/0.00471, allocations: 0 / 473.5 MB, free: 10.83 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.0003169/0.005032, allocations: 185.1 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FunctionAlias: time 5.841e-05/0.005096, allocations: 15.95 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001013/0.005204, allocations: 64.34 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplify1: time 1.487e-05/0.005224, allocations: 0 / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Alias: time 0.0003372/0.005566, allocations: 149.2 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplify2: time 1.044e-05/0.005587, allocations: 15.94 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Detect States: time 7.424e-05/0.005666, allocations: 24.19 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Events: time 4.328e-05/0.005717, allocations: 12.19 kB / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Partitioning: time 4.447e-05/0.005768, allocations: 16.12 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001118/0.005885, allocations: 52.08 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 7.463e-05/0.005969, allocations: 64.28 kB / 474.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Inline: time 9.187e-05/0.006067, allocations: 80.52 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Partitioning: time 1.202e-05/0.006085, allocations: 16.06 kB / 474.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Cleanup: time 6.763e-06/0.006097, allocations: 0 / 474.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001063/0.006208, allocations: 64.03 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Tearing: time 1.209e-05/0.006229, allocations: 0 / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Initialization: time 1.613e-06/0.006239, allocations: 8 kB / 474.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Tearing: time 9.32e-07/0.006245, allocations: 0 / 474.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Categorize: time 8.096e-06/0.006257, allocations: 4.547 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of Solve: time 3.338e-05/0.006295, allocations: 4 kB / 474.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Jacobian: time 4.609e-06/0.006305, allocations: 3.938 kB / 474.3 MB, free: 9.77 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.605e-05/0.006345, allocations: 24.61 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008627/0.007213, allocations: 0.89 MB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Templates: time 0.0034/0.01062, allocations: 1.101 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