Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 111.8 kB / 16.42 MB, free: 6.047 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.001531/0.001531, allocations: 189.9 kB / 17.36 MB, free: 5.617 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.651e-05, allocations: 2.281 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.05764/0.05768, allocations: 62.2 MB / 0.6427 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.07425, allocations: 11.42 MB / 0.6539 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.07668, allocations: 79.5 kB / 0.654 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.07881, allocations: 0.8188 MB / 0.6548 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.08382, allocations: 2.025 MB / 0.6567 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.08888, allocations: 2.042 MB / 0.6587 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005717/0.09461, allocations: 4.246 MB / 0.6629 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.09642, allocations: 1.323 MB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.1005, allocations: 1.977 MB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.1022, allocations: 1.167 MB / 0.6672 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.1024, allocations: 128 kB / 0.6674 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.1055, allocations: 1.548 MB / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002037/0.1076, allocations: 2.909 MB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001082/0.1087, allocations: 1.863 MB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.1092, allocations: 338.9 kB / 0.6739 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0004253/0.1097, allocations: 79.72 kB / 0.6739 GB, free: 11.94 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 (244) * Number of variables: 260 (254) Notification: Performance of Bindings: time 0.008069/0.1178, allocations: 7.386 MB / 0.6811 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0006913/0.1185, allocations: 463.8 kB / 0.6816 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.006611/0.1251, allocations: 4.837 MB / 0.6863 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0005817/0.1257, allocations: 347.6 kB / 0.6866 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of Alias: time 0.01263/0.1383, allocations: 7.109 MB / 0.6936 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0007324/0.1391, allocations: 299.6 kB / 0.6939 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of Detect States: time 0.001435/0.1406, allocations: 0.986 MB / 0.6948 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of Events: time 0.001445/0.142, allocations: 0.7755 MB / 0.6956 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.001781/0.1438, allocations: 1.103 MB / 0.6967 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of Causalize: time 0.007427/0.1513, allocations: 4.253 MB / 0.7008 GB, free: 15.25 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.004413/0.1557, allocations: 2.913 MB / 0.7037 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Inline: time 0.009318/0.1651, allocations: 5.9 MB / 0.7094 GB, free: 6.34 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0003384/0.1654, allocations: 203.6 kB / 0.7096 GB, free: 6.125 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0007376/0.1662, allocations: 0.6219 MB / 0.7102 GB, free: 5.496 MB / 0.545 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) TSetCoolHeat.nextEventScaled = $START.TSetCoolHeat.nextEventScaled ($RES_SRT_362) slice: {}; [SCAL] (1) TSetCool.nextEventScaled = $START.TSetCool.nextEventScaled ($RES_SRT_360) slice: {}; [SCAL] (1) TSetHeat.nextEventScaled = $START.TSetHeat.nextEventScaled ($RES_SRT_358) slice: {}; Notification: Performance of Causalize: time 0.02854/0.1947, allocations: 22.68 MB / 0.7324 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of Tearing: time 4.244e-05/0.1948, allocations: 4 kB / 0.7324 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of Initialization: time 2.705e-06/0.1948, allocations: 7.938 kB / 0.7324 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Tearing: time 1.999e-05/0.1948, allocations: 0 / 0.7324 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Categorize: time 4.383e-05/0.1949, allocations: 15.94 kB / 0.7324 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of Solve: time 0.002501/0.1974, allocations: 1.006 MB / 0.7334 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.002026/0.1994, allocations: 1.591 MB / 0.7349 GB, free: 11.8 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: ............... 1 * Number of algebraic event partitions: ......... 10 * 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: ............................. 9 (9) {heaHigPow.outCon.hSet, cooLimPow.outCon.hSet, heaCooUnl.outCon.hSet, heaHigPowOut.T, cooLimPowOut.T, heaCooUnlOut.T, heaHigPowIn.T, cooLimPowIn.T, heaCooUnlIn.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 69 (69) {TSetHeat.a, TSetHeat.b, TSetHeat.last, TSetHeat.nextEvent, TSetHeat.nextEventScaled, TSetCool.a, TSetCool.b, TSetCool.last, TSetCool.nextEvent, TSetCool.nextEventScaled, TSetCoolHeat.a, TSetCoolHeat.b, TSetCoolHeat.last, TSetCoolHeat.nextEvent, TSetCoolHeat.nextEventScaled, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $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: ........... 140 (scalar:136, array:4, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, 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: ........... 229 (scalar:222, array:7, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, 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: ........... 229 (scalar:222, array:7, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001971/0.1996, allocations: 114 kB / 0.735 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01243/0.2121, allocations: 7.357 MB / 0.7422 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.4734/0.6855, allocations: 21.51 MB / 0.7632 GB, free: 70.32 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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_HeatExchangers_Validation_PrescribedOutlet_dynamic -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.HeatExchangers.Validation.PrescribedOutlet_dynamic.o IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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_HeatExchangers_Validation_PrescribedOutlet_dynamic -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.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.o IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2043:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2044:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2046:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2063:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2064:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2066:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2069:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2072:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2084:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2092:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2095:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2098:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2100:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2105:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2106:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2108:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2109:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2112:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.c:2208: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.HeatExchangers.Validation.PrescribedOutlet_dynamic_functions.o] Error 1