Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 107.9 kB / 16.42 MB, free: 6.512 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.001089/0.001089, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.193/1.193, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7019/0.7019, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.767e-05, allocations: 2.281 kB / 0.5819 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1448/0.1448, allocations: 161.5 MB / 0.7397 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.1474, allocations: 1.714 MB / 0.7413 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.1477, allocations: 7.938 kB / 0.7413 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.1483, allocations: 162.9 kB / 0.7415 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1494, allocations: 0.5095 MB / 0.742 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.1504, allocations: 427.9 kB / 0.7424 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007286/0.1511, allocations: 0.6308 MB / 0.743 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.1514, allocations: 216.8 kB / 0.7432 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.152, allocations: 354.8 kB / 0.7436 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1522, allocations: 195.2 kB / 0.7438 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1522, allocations: 16 kB / 0.7438 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007991/0.153, allocations: 0.6781 MB / 0.7444 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0003276/0.1534, allocations: 443.4 kB / 0.7449 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0001696/0.1536, allocations: 300.3 kB / 0.7451 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.1536, allocations: 43.81 kB / 0.7452 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.762e-05/0.1537, allocations: 15.92 kB / 0.7452 GB, free: 2.668 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (30) * Number of variables: 32 (30) Notification: Performance of Bindings: time 0.001019/0.1547, allocations: 1.138 MB / 0.7463 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 4.134e-05/0.1547, allocations: 39.91 kB / 0.7463 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0004171/0.1552, allocations: 465.1 kB / 0.7468 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simplify1: time 3.592e-05/0.1552, allocations: 31.95 kB / 0.7468 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of Alias: time 0.0005685/0.1558, allocations: 489.7 kB / 0.7473 GB, free: 320 kB / 0.5762 GB Notification: Performance of simplify2: time 4e-05/0.1558, allocations: 39.94 kB / 0.7473 GB, free: 280 kB / 0.5762 GB Notification: Performance of Events: time 0.0001194/0.1559, allocations: 88.86 kB / 0.7474 GB, free: 192 kB / 0.5762 GB Notification: Performance of Detect States: time 0.0001512/0.1561, allocations: 139 kB / 0.7475 GB, free: 40 kB / 0.5762 GB Notification: Performance of Partitioning: time 0.2911/0.4472, allocations: 216.9 kB / 0.7477 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001083/0.4483, allocations: 1.011 MB / 0.7487 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003456/0.4487, allocations: 380.1 kB / 0.7491 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of Inline: time 0.0005896/0.4493, allocations: 0.6967 MB / 0.7498 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of Partitioning: time 3.282e-05/0.4493, allocations: 46.39 kB / 0.7498 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.157e-05/0.4494, allocations: 71.75 kB / 0.7499 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001484/0.4509, allocations: 2.159 MB / 0.752 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of Tearing: time 7.414e-06/0.4509, allocations: 0 / 0.752 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of Initialization: time 3.61e-07/0.4509, allocations: 2.141 kB / 0.752 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of Tearing: time 3.707e-06/0.4509, allocations: 3.781 kB / 0.752 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of Categorize: time 1.146e-05/0.4509, allocations: 1.906 kB / 0.752 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002307/0.4511, allocations: 150 kB / 0.7521 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.146e-06/0.4511, allocations: 0 / 0.7521 GB, free: 6.242 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 6 (6) {$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: ........... 29 (scalar:21, array:8, 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: ........... 37 (scalar:29, array:8, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:29, array:8, 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.172e-05/0.4512, allocations: 33.52 kB / 0.7522 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001969/0.4532, allocations: 1.781 MB / 0.7539 GB, free: 21.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.007196/0.4604, allocations: 3.773 MB / 0.7576 GB, free: 21.2 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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_FixedResistances_Examples_PressureDrop -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.FixedResistances.Examples.PressureDrop.o IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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_FixedResistances_Examples_PressureDrop -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.FixedResistances.Examples.PressureDrop_functions.o IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:763: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.FixedResistances.Examples.PressureDrop_functions.o] Error 1