Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00125/0.001249, allocations: 108.8 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.00131/0.00131, 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8138/0.8138, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.699e-05, allocations: 6.641 kB / 0.5862 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1901/0.1901, allocations: 161.5 MB / 0.7439 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.1938, allocations: 1.713 MB / 0.7456 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.1945, allocations: 7.938 kB / 0.7456 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007679/0.1953, allocations: 163 kB / 0.7458 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.197, allocations: 0.5133 MB / 0.7463 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.1986, allocations: 419.9 kB / 0.7467 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1998, allocations: 0.6269 MB / 0.7473 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.2003, allocations: 204.9 kB / 0.7475 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.2012, allocations: 358.7 kB / 0.7478 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.2016, allocations: 171.3 kB / 0.748 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.2017, allocations: 19.98 kB / 0.748 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4853/0.687, allocations: 0.6738 MB / 0.7487 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0007161/0.6877, allocations: 450 kB / 0.7491 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002655/0.688, allocations: 308.8 kB / 0.7494 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.6881, allocations: 47.95 kB / 0.7494 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001379/0.6883, allocations: 16.34 kB / 0.7494 GB, free: 4.23 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.001425/0.6897, allocations: 1.171 MB / 0.7506 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 5.024e-05/0.6898, allocations: 35.66 kB / 0.7506 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0005022/0.6903, allocations: 465.1 kB / 0.7511 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of simplify1: time 4.256e-05/0.6903, allocations: 36.56 kB / 0.7511 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of Alias: time 0.0006811/0.691, allocations: 0.52 MB / 0.7516 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simplify2: time 4.232e-05/0.6911, allocations: 29.86 kB / 0.7516 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of Events: time 0.0001439/0.6912, allocations: 79.33 kB / 0.7517 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001453/0.6914, allocations: 137.5 kB / 0.7518 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002045/0.6916, allocations: 227 kB / 0.7521 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0007282/0.6923, allocations: 0.7214 MB / 0.7528 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003043/0.6926, allocations: 378.9 kB / 0.7531 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of Inline: time 0.0006293/0.6933, allocations: 0.6911 MB / 0.7538 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of Partitioning: time 4.209e-05/0.6933, allocations: 53.28 kB / 0.7539 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.942e-05/0.6934, allocations: 76.03 kB / 0.7539 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002182/0.6956, allocations: 1.705 MB / 0.7556 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of Tearing: time 8.717e-06/0.6956, allocations: 0 / 0.7556 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of Initialization: time 1.353e-06/0.6956, allocations: 1.625 kB / 0.7556 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of Tearing: time 7.154e-06/0.6956, allocations: 3.812 kB / 0.7556 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of Categorize: time 1.791e-05/0.6956, allocations: 3.891 kB / 0.7556 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002854/0.6959, allocations: 149.5 kB / 0.7557 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of Jacobian: time 4.058e-06/0.6959, allocations: 0 / 0.7557 GB, free: 2.688 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 6.097e-05/0.696, allocations: 44.8 kB / 0.7558 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002899/0.6989, allocations: 1.821 MB / 0.7576 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of Templates: time 0.009744/0.7087, allocations: 3.834 MB / 0.7613 GB, free: 17.48 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.o IDEAS_dev_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_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.o IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop_functions.o] Error 1