Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 100.8 kB / 16.37 MB, free: 6.367 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.001541/0.001541, allocations: 195.3 kB / 17.31 MB, free: 5.91 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8043/0.8043, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.677e-05, allocations: 5.938 kB / 0.5031 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.506/0.5061, allocations: 167.4 MB / 0.6666 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.5094, allocations: 1.553 MB / 0.6681 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.5098, allocations: 15.94 kB / 0.6681 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.5103, allocations: 146.8 kB / 0.6683 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5122, allocations: 0.7039 MB / 0.669 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.514, allocations: 0.609 MB / 0.6695 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.515, allocations: 0.7835 MB / 0.6703 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.5155, allocations: 280.7 kB / 0.6706 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/0.5162, allocations: 382.6 kB / 0.6709 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.5165, allocations: 247 kB / 0.6712 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.5165, allocations: 24 kB / 0.6712 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.5179, allocations: 0.8299 MB / 0.672 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0005065/0.5184, allocations: 0.5965 MB / 0.6726 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0002526/0.5186, allocations: 388.8 kB / 0.673 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.5187, allocations: 63.81 kB / 0.673 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.422e-05/0.5188, allocations: 15.88 kB / 0.673 GB, free: 13.17 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (53) * Number of variables: 55 (53) Notification: Performance of Bindings: time 0.001543/0.5203, allocations: 1.502 MB / 0.6745 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 8.93e-05/0.5204, allocations: 60.61 kB / 0.6746 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.001032/0.5215, allocations: 0.9526 MB / 0.6755 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simplify1: time 7.763e-05/0.5216, allocations: 79.89 kB / 0.6756 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of Alias: time 0.001261/0.5228, allocations: 0.9926 MB / 0.6765 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simplify2: time 7.55e-05/0.5229, allocations: 75.89 kB / 0.6766 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of Events: time 0.000223/0.5232, allocations: 142.3 kB / 0.6768 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0002906/0.5235, allocations: 214 kB / 0.677 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0003281/0.5238, allocations: 280.3 kB / 0.6772 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of Causalize: time 0.001752/0.5256, allocations: 1.601 MB / 0.6788 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.0006461/0.5262, allocations: 0.6326 MB / 0.6794 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of Inline: time 0.001334/0.5276, allocations: 1.197 MB / 0.6806 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of Partitioning: time 7.081e-05/0.5276, allocations: 54.36 kB / 0.6806 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of Cleanup: time 6.077e-05/0.5277, allocations: 49.25 kB / 0.6807 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of Causalize: time 0.001805/0.5295, allocations: 1.75 MB / 0.6824 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of Tearing: time 1.142e-05/0.5295, allocations: 0.5469 kB / 0.6824 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of Initialization: time 3.3e-07/0.5295, allocations: 0 / 0.6824 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of Tearing: time 2.685e-06/0.5296, allocations: 0 / 0.6824 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of Categorize: time 1.761e-05/0.5296, allocations: 7.938 kB / 0.6824 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of Solve: time 0.0003543/0.5299, allocations: 209.9 kB / 0.6826 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of Jacobian: time 0.0004073/0.5304, allocations: 405.4 kB / 0.683 GB, free: 2.723 MB / 0.4981 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * 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: ............................. 1 (1) {senDyn.d} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:32, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * 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: ........... 52 (scalar:42, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * 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 4.801e-05/0.5304, allocations: 27.28 kB / 0.683 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003036/0.5335, allocations: 2.262 MB / 0.6852 GB, free: 436 kB / 0.4981 GB Notification: Performance of Templates: time 0.01025/0.5437, allocations: 5.565 MB / 0.6906 GB, free: 10.91 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity -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 IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.o IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity -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 IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.o IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.c:922:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 18 errors generated. make: *** [: IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity_functions.o] Error 1