Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8623/0.8623, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.502e-05, allocations: 4.531 kB / 237.8 MB, free: 1.938 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss): time 1.931/1.932, allocations: 294.8 MB / 0.5201 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2388/2.17, allocations: 187.4 MB / 0.7031 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/2.171, allocations: 8 kB / 0.7031 GB, free: 1.305 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/InvSingularPressureLoss.mo:30:3-31:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/InvSingularPressureLoss.mo:32:3-33:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001965/2.171, allocations: 48.78 kB / 0.7032 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/2.171, allocations: 107 kB / 0.7033 GB, free: 1.152 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.5132/2.685, allocations: 11.53 MB / 0.7146 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00082/2.685, allocations: 430.9 kB / 0.715 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/2.686, allocations: 208.8 kB / 0.7152 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/2.686, allocations: 157.3 kB / 0.7153 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/2.686, allocations: 166.4 kB / 0.7155 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/2.686, allocations: 34.59 kB / 0.7155 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0443/2.731, allocations: 19.24 MB / 0.7343 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0006744/2.731, allocations: 0.542 MB / 0.7348 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0001991/2.732, allocations: 355 kB / 0.7352 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/2.732, allocations: 67.7 kB / 0.7352 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001366/2.732, allocations: 11.47 kB / 0.7352 GB, free: 2.137 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: 86 (86) * Number of variables: 86 (86) Notification: Performance of Bindings: time 0.001994/2.734, allocations: 1.75 MB / 0.737 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001909/2.734, allocations: 115.9 kB / 0.7371 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001142/2.735, allocations: 0.9666 MB / 0.738 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simplify1: time 6.586e-05/2.735, allocations: 67.53 kB / 0.7381 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of Alias: time 0.002719/2.738, allocations: 2.352 MB / 0.7404 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simplify2: time 2.543e-05/2.738, allocations: 19.23 kB / 0.7404 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001136/2.738, allocations: 98.7 kB / 0.7405 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of Events: time 0.0001174/2.738, allocations: 51.03 kB / 0.7405 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001541/2.739, allocations: 133.9 kB / 0.7407 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0005781/2.739, allocations: 499.8 kB / 0.7411 GB, free: 488 kB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.000327/2.739, allocations: 315.6 kB / 0.7414 GB, free: 416 kB / 0.5762 GB Notification: Performance of Inline: time 0.0009602/2.74, allocations: 0.7061 MB / 0.7421 GB, free: 296 kB / 0.5762 GB Notification: Performance of Partitioning: time 4.686e-05/2.74, allocations: 49.41 kB / 0.7422 GB, free: 268 kB / 0.5762 GB Notification: Performance of Cleanup: time 2.559e-05/2.74, allocations: 19.75 kB / 0.7422 GB, free: 268 kB / 0.5762 GB Notification: Performance of Causalize: time 0.0009332/2.741, allocations: 0.8383 MB / 0.743 GB, free: 100 kB / 0.5762 GB Notification: Performance of Tearing: time 1.408e-05/2.741, allocations: 1 kB / 0.743 GB, free: 100 kB / 0.5762 GB Notification: Performance of Initialization: time 3.51e-07/2.741, allocations: 0 / 0.743 GB, free: 100 kB / 0.5762 GB Notification: Performance of Tearing: time 3.677e-06/2.741, allocations: 1.094 kB / 0.743 GB, free: 100 kB / 0.5762 GB Notification: Performance of Categorize: time 1.519e-05/2.741, allocations: 4.547 kB / 0.743 GB, free: 100 kB / 0.5762 GB Notification: Performance of Solve: time 0.0005366/2.742, allocations: 462.6 kB / 0.7435 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of Jacobian: time 4.879e-06/2.742, allocations: 1 kB / 0.7435 GB, free: 15.74 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ................. 10 (10) {sourcePQ.C.diff_on_2, sinkQ.fluid1, sinkQ.fluid, invSingularPressureLoss.ftype, invSingularPressureLoss.fluid, invSingularPressureLoss.C2.diff_on_1, $SEV_3, $SEV_2, $SEV_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: ........... 20 (scalar:20, array:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:40, array:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.607e-05/2.742, allocations: 25.12 kB / 0.7435 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of SimCode: time 0.04253/2.785, allocations: 11.28 MB / 0.7545 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of Templates: time 0.09248/2.877, allocations: 61.99 MB / 0.815 GB, free: 3.531 MB / 0.6387 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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=ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestInvSingularPressureLoss -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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=ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestInvSingularPressureLoss -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:78:29: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:79:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:80:38: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:83:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:84:38: error: use of undeclared identifier '_OMC_LIT3' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT3); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:87:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:88:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT4); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:91:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta15 = stringAppend(tmpMeta14,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:92:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:353:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1062:24: error: use of undeclared identifier '_OMC_LIT26' real_array_copy_data(_OMC_LIT26, _C); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1163:24: error: use of undeclared identifier '_OMC_LIT26' real_array_copy_data(_OMC_LIT26, _C); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1383:59: error: use of undeclared identifier '_OMC_LIT28' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT28)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1424:67: error: use of undeclared identifier '_OMC_LIT27' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT27)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1499:59: error: use of undeclared identifier '_OMC_LIT29' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT29)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1568:57: error: use of undeclared identifier '_OMC_LIT31' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT31)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1582:59: error: use of undeclared identifier '_OMC_LIT28' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT28)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1620:67: error: use of undeclared identifier '_OMC_LIT30' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT30)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1697:59: error: use of undeclared identifier '_OMC_LIT28' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT28)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.c:1738:67: error: use of undeclared identifier '_OMC_LIT27' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT27)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss_functions.o] Error 1