Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(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_latest_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_latest_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.001129/0.001129, allocations: 104.3 kB / 16.42 MB, free: 6.473 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.00108/0.00108, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.16/1.16, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.231/2.231, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/1.919e-05, allocations: 6.219 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01366/0.01368, allocations: 15.06 MB / 1.069 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00477/0.01847, allocations: 3.88 MB / 1.073 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.01896, allocations: 23.88 kB / 1.073 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.01948, allocations: 190.7 kB / 1.073 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.02096, allocations: 0.6724 MB / 1.074 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.02207, allocations: 488.3 kB / 1.074 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.02342, allocations: 1.105 MB / 1.076 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.02388, allocations: 309.7 kB / 1.076 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006961/0.02458, allocations: 442.4 kB / 1.076 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.02495, allocations: 254.9 kB / 1.076 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.02501, allocations: 20 kB / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.02599, allocations: 0.729 MB / 1.077 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.4107/0.4367, allocations: 0.6607 MB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003444/0.4371, allocations: 441.8 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4372, allocations: 67.2 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001116/0.4374, allocations: 16.28 kB / 1.078 GB, free: 13.54 MB / 0.8419 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.001329/0.4387, allocations: 1.658 MB / 1.08 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.256e-05/0.4387, allocations: 41 kB / 1.08 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004236/0.4392, allocations: 0.5095 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simplify1: time 4.052e-05/0.4392, allocations: 32.77 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007202/0.44, allocations: 0.7089 MB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simplify2: time 2.718e-05/0.44, allocations: 27.22 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of Events: time 0.0001186/0.4401, allocations: 97.84 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001228/0.4402, allocations: 148 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001789/0.4404, allocations: 251.1 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00076/0.4412, allocations: 0.8175 MB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003033/0.4415, allocations: 423.7 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Inline: time 0.0008725/0.4424, allocations: 1.038 MB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.068e-05/0.4424, allocations: 60.98 kB / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of Cleanup: time 8.308e-05/0.4425, allocations: 104.3 kB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002568/0.4451, allocations: 2.645 MB / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Tearing: time 1.001e-05/0.4451, allocations: 0.9375 kB / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Initialization: time 2.8e-07/0.4451, allocations: 0 / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Tearing: time 5.32e-06/0.4451, allocations: 6.594 kB / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Categorize: time 1.065e-05/0.4452, allocations: 0.9375 kB / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003169/0.4455, allocations: 194.1 kB / 1.087 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.038e-06/0.4455, allocations: 4.766 kB / 1.087 GB, free: 11.15 MB / 0.8419 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.695e-05/0.4455, allocations: 49.12 kB / 1.087 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002093/0.4476, allocations: 2.176 MB / 1.089 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.008902/0.4565, allocations: 5.069 MB / 1.094 GB, free: 9.57 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1162:31: error: use of undeclared identifier '_OMC_LIT29' tmpMeta2 = stringAppend(_OMC_LIT29,_modelName); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1163:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1165:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT31); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1182:35: error: use of undeclared identifier '_OMC_LIT32' tmpMeta7 = stringAppend(_OMC_LIT32,_mediumName); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1183:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT33); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1185:45: error: use of undeclared identifier '_OMC_LIT34' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT34); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1188:46: error: use of undeclared identifier '_OMC_LIT35' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT35); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1191:46: error: use of undeclared identifier '_OMC_LIT36' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT36); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1203:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1211:41: error: use of undeclared identifier '_OMC_LIT37' tmpMeta21 = stringAppend(_X_str,_OMC_LIT37); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1214:44: error: use of undeclared identifier '_OMC_LIT38' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT38); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1217:44: error: use of undeclared identifier '_OMC_LIT39' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT39); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1219:44: error: use of undeclared identifier '_OMC_LIT40' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT40); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1224:30: error: use of undeclared identifier '_OMC_LIT41' tmpMeta33 = stringAppend(_OMC_LIT41,_mediumName); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1225:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT33); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1227:40: error: use of undeclared identifier '_OMC_LIT40' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT40); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1228:40: error: use of undeclared identifier '_OMC_LIT42' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT42); ^ Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.c:1231:40: error: use of undeclared identifier '_OMC_LIT43' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT43); ^ Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_functions.o] Error 1