Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9506/0.9506, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.748e-05, allocations: 2.281 kB / 237.8 MB, free: 1.805 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.TestDiaphragm): time 2.034/2.034, allocations: 294.9 MB / 0.5201 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7369/2.771, allocations: 190.1 MB / 0.7058 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/2.771, allocations: 8.812 kB / 0.7058 GB, free: 2.082 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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/Diaphragm.mo:34:3-35: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/Diaphragm.mo:36:3-37: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.0001751/2.772, allocations: 39.27 kB / 0.7058 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/2.772, allocations: 115.1 kB / 0.7059 GB, free: 2.082 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.04381/2.816, allocations: 12.34 MB / 0.718 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007973/2.817, allocations: 450.8 kB / 0.7184 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/2.817, allocations: 215.5 kB / 0.7186 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/2.817, allocations: 170.2 kB / 0.7188 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/2.817, allocations: 176.5 kB / 0.7189 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/2.817, allocations: 34.72 kB / 0.719 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04156/2.859, allocations: 20.33 MB / 0.7388 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0006955/2.86, allocations: 0.5572 MB / 0.7394 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.000207/2.86, allocations: 357.1 kB / 0.7397 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/2.86, allocations: 66.02 kB / 0.7398 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001317/2.86, allocations: 14.67 kB / 0.7398 GB, free: 1.43 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: 88 (88) * Number of variables: 88 (88) Notification: Performance of Bindings: time 0.001985/2.862, allocations: 1.805 MB / 0.7415 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0002002/2.862, allocations: 138 kB / 0.7417 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001121/2.864, allocations: 1.02 MB / 0.7427 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simplify1: time 7.289e-05/2.864, allocations: 70.19 kB / 0.7427 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of Alias: time 0.002577/2.866, allocations: 2.361 MB / 0.745 GB, free: 8 kB / 0.5762 GB Notification: Performance of simplify2: time 3.202e-05/2.866, allocations: 24.97 kB / 0.7451 GB, free: 8 kB / 0.5762 GB Notification: Performance of Detect States: time 0.000146/2.866, allocations: 97.27 kB / 0.7452 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Events: time 0.0001302/2.867, allocations: 70.23 kB / 0.7452 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001695/2.867, allocations: 144.8 kB / 0.7454 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of Causalize: time 0.0007134/2.868, allocations: 0.5962 MB / 0.7459 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0003671/2.868, allocations: 354.5 kB / 0.7463 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Inline: time 0.0009694/2.869, allocations: 0.7006 MB / 0.747 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Partitioning: time 4.478e-05/2.869, allocations: 39.81 kB / 0.747 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Cleanup: time 2.72e-05/2.869, allocations: 20.05 kB / 0.747 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Causalize: time 0.0009222/2.87, allocations: 0.827 MB / 0.7478 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of Tearing: time 0.0004667/2.87, allocations: 371.3 kB / 0.7482 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Initialization: time 5.11e-07/2.87, allocations: 4 kB / 0.7482 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of Tearing: time 0.0003196/2.871, allocations: 385.9 kB / 0.7486 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of Categorize: time 1.257e-05/2.871, allocations: 1.203 kB / 0.7486 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of Solve: time 0.0001359/2.871, allocations: 86.44 kB / 0.7486 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of Jacobian: time 2.705e-06/2.871, allocations: 3.094 kB / 0.7486 GB, free: 14.83 MB / 0.5919 GB 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: ......... 3 * 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) {SourceP1.C.diff_on_2, PuitsP1.fluid1, PuitsP1.fluid, Diaphragm.ftype, Diaphragm.fluid, Diaphragm.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: ........... 19 (scalar:19, 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, 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: 1, nonlinear:0) Notification: Performance of backend: time 5.035e-05/2.871, allocations: 25.48 kB / 0.7487 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of SimCode: time 0.04325/2.914, allocations: 12.14 MB / 0.7605 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.08972/3.004, allocations: 65.88 MB / 0.8249 GB, free: 11.17 MB / 0.6544 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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_TestDiaphragm -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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_TestDiaphragm -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.o ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:78:29: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:79:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:80:38: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:83:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:84:38: error: use of undeclared identifier '_OMC_LIT3' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT3); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:87:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:88:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT4); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:91:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta15 = stringAppend(tmpMeta14,_OMC_LIT1); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:92:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:539:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:1335:24: error: use of undeclared identifier '_OMC_LIT34' real_array_copy_data(_OMC_LIT34, _C); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:1552:24: error: use of undeclared identifier '_OMC_LIT34' real_array_copy_data(_OMC_LIT34, _C); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:1817:59: error: use of undeclared identifier '_OMC_LIT36' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT36)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:1858:67: error: use of undeclared identifier '_OMC_LIT35' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT35)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:1935:59: error: use of undeclared identifier '_OMC_LIT36' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT36)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:1976:67: error: use of undeclared identifier '_OMC_LIT35' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT35)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:2051:59: error: use of undeclared identifier '_OMC_LIT37' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT37)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:2120:57: error: use of undeclared identifier '_OMC_LIT39' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT39)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:2134:59: error: use of undeclared identifier '_OMC_LIT36' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT36)); ^ ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.c:2172:67: error: use of undeclared identifier '_OMC_LIT38' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT38)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make: *** [: ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm_functions.o] Error 1