Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 112.1 kB / 16.43 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.001078/0.001079, allocations: 183.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.143/1.143, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.877/1.877, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.272e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0127/0.01272, allocations: 15.05 MB / 0.9661 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004357/0.0171, allocations: 3.899 MB / 0.9699 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.01734, allocations: 23.88 kB / 0.97 GB, free: 4.699 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.01775, allocations: 194.7 kB / 0.9701 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.01891, allocations: 0.692 MB / 0.9708 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.01978, allocations: 485.6 kB / 0.9713 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.02091, allocations: 1.106 MB / 0.9724 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.02127, allocations: 307.1 kB / 0.9727 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.0218, allocations: 446.5 kB / 0.9731 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.02207, allocations: 258.9 kB / 0.9733 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.02212, allocations: 20 kB / 0.9734 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.02292, allocations: 0.729 MB / 0.9741 GB, free: 500 kB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0004318/0.02336, allocations: 0.6609 MB / 0.9747 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of replaceArrayConstructors: time 0.0002158/0.02358, allocations: 446 kB / 0.9751 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.02364, allocations: 63.75 kB / 0.9752 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.559e-05/0.02368, allocations: 20 kB / 0.9752 GB, free: 15.29 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 (36) * Number of variables: 40 (34) Notification: Performance of Bindings: time 0.001253/0.02494, allocations: 1.656 MB / 0.9768 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 3.977e-05/0.02499, allocations: 35.75 kB / 0.9769 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.000416/0.02541, allocations: 0.5189 MB / 0.9774 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of simplify1: time 3.034e-05/0.02545, allocations: 35.95 kB / 0.9774 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of Alias: time 0.0007119/0.02616, allocations: 0.7052 MB / 0.9781 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of simplify2: time 2.278e-05/0.0262, allocations: 23.97 kB / 0.9781 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0001104/0.02631, allocations: 130.6 kB / 0.9782 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of Events: time 0.0001159/0.02643, allocations: 92.95 kB / 0.9783 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0002078/0.02665, allocations: 249.7 kB / 0.9786 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of Causalize: time 0.0007612/0.02742, allocations: 0.8152 MB / 0.9794 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of After Index Reduction Inline: time 0.000325/0.02776, allocations: 425.3 kB / 0.9798 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of Inline: time 0.000876/0.02864, allocations: 1.057 MB / 0.9808 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of Partitioning: time 5.692e-05/0.02871, allocations: 66.28 kB / 0.9809 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of Cleanup: time 7.595e-05/0.02879, allocations: 97.05 kB / 0.981 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of Causalize: time 0.002482/0.03127, allocations: 2.631 MB / 0.9835 GB, free: 6.309 MB / 0.7637 GB Notification: Performance of Tearing: time 1.428e-05/0.0313, allocations: 7.938 kB / 0.9835 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of Initialization: time 3.51e-07/0.0313, allocations: 0 / 0.9835 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of Tearing: time 2.855e-06/0.03131, allocations: 0 / 0.9835 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of Categorize: time 1.166e-05/0.03133, allocations: 11.92 kB / 0.9835 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of Solve: time 0.000263/0.03159, allocations: 182.7 kB / 0.9837 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of Jacobian: time 3.536e-06/0.0316, allocations: 7.938 kB / 0.9837 GB, free: 6.102 MB / 0.7637 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: ......... 6 * 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: ................. 7 (7) {$SEV_4, $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: ........... 28 (scalar:26, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 51 (scalar:49, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 51 (scalar:49, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.511e-05/0.03164, allocations: 30.02 kB / 0.9838 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of SimCode: time 0.001839/0.03349, allocations: 2.199 MB / 0.9859 GB, free: 3.848 MB / 0.7637 GB Notification: Performance of Templates: time 0.007477/0.04098, allocations: 5.059 MB / 0.9908 GB, free: 14.8 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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=Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter -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 Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.o Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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=Buildings_9_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter -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 Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1250: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: *** [: Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1