Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 112.1 kB / 17.14 MB, free: 5.895 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.001295/0.001295, allocations: 196.2 kB / 18.08 MB, free: 4.969 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.222/1.222, allocations: 225.6 MB / 244.5 MB, free: 14.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 127 MB / 424.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.311e-05, allocations: 4.469 kB / 0.5883 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00339/0.003403, allocations: 4.067 MB / 0.5923 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.00512, allocations: 2.422 MB / 0.5947 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.005174, allocations: 1.094 kB / 0.5947 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.005367, allocations: 53.53 kB / 0.5947 GB, free: 17.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.005561, allocations: 105.3 kB / 0.5948 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.006365, allocations: 0.5249 MB / 0.5953 GB, free: 17.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.006616, allocations: 286.8 kB / 0.5956 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.006651, allocations: 10.91 kB / 0.5956 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.006813, allocations: 126.9 kB / 0.5957 GB, free: 16.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.006915, allocations: 96.03 kB / 0.5958 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.006936, allocations: 8.812 kB / 0.5958 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.007481, allocations: 454.9 kB / 0.5963 GB, free: 16.68 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.000155/0.007636, allocations: 281.3 kB / 0.5965 GB, free: 16.5 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 6.85e-05/0.007704, allocations: 169.8 kB / 0.5967 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.007734, allocations: 33.94 kB / 0.5967 GB, free: 16.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.198e-05/0.007746, allocations: 2.656 kB / 0.5967 GB, free: 16.37 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.0005873/0.008334, allocations: 0.8183 MB / 0.5975 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FunctionAlias: time 3.63e-05/0.00837, allocations: 54.14 kB / 0.5976 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0005359/0.008906, allocations: 0.6517 MB / 0.5982 GB, free: 15.15 MB / 446.1 MB Notification: Performance of Simplify 1: time 0.0001238/0.00903, allocations: 155.7 kB / 0.5984 GB, free: 15.03 MB / 446.1 MB Notification: Performance of Alias: time 0.0005653/0.009595, allocations: 0.5776 MB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of Simplify 2: time 9.915e-05/0.009694, allocations: 155.8 kB / 0.5991 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Remove Stream: time 6.376e-05/0.009758, allocations: 109.4 kB / 0.5992 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Detect States: time 0.000141/0.009899, allocations: 192.5 kB / 0.5994 GB, free: 13.88 MB / 446.1 MB Notification: Performance of Events: time 0.0001504/0.01005, allocations: 141.8 kB / 0.5995 GB, free: 13.74 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002093/0.01026, allocations: 304.6 kB / 0.5998 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Causalize: time 0.000652/0.01091, allocations: 0.8248 MB / 0.6006 GB, free: 12.51 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002263/0.01114, allocations: 387.6 kB / 0.601 GB, free: 12.13 MB / 446.1 MB Notification: Performance of Simplify: time 0.0002037/0.01134, allocations: 278.6 kB / 0.6012 GB, free: 11.8 MB / 446.1 MB Notification: Performance of Inline: time 0.0004432/0.01178, allocations: 0.7345 MB / 0.602 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Partitioning: time 1.871e-05/0.0118, allocations: 26.34 kB / 0.602 GB, free: 11.04 MB / 446.1 MB Notification: Performance of Cleanup: time 9.153e-05/0.01189, allocations: 171.8 kB / 0.6021 GB, free: 10.87 MB / 446.1 MB Notification: Performance of Causalize: time 0.00064/0.01253, allocations: 0.7434 MB / 0.6029 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Tearing: time 8.927e-06/0.01254, allocations: 7.938 kB / 0.6029 GB, free: 10.1 MB / 446.1 MB Notification: Performance of Initialization: time 2.7e-07/0.01254, allocations: 0 / 0.6029 GB, free: 10.1 MB / 446.1 MB Notification: Performance of Tearing: time 2.465e-06/0.01255, allocations: 0 / 0.6029 GB, free: 10.1 MB / 446.1 MB Notification: Performance of Categorize: time 8.185e-06/0.01255, allocations: 4 kB / 0.6029 GB, free: 10.1 MB / 446.1 MB Notification: Performance of Solve: time 0.0001794/0.01273, allocations: 157.5 kB / 0.603 GB, free: 9.945 MB / 446.1 MB Notification: Performance of Jacobian: time 2.615e-06/0.01274, allocations: 0 / 0.603 GB, free: 9.945 MB / 446.1 MB 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: ......... 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) {} * Number of discrete variables: ................. 10 (10) {$SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:37, array:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:37, array:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.048e-05/0.01277, allocations: 43.52 kB / 0.6031 GB, free: 9.91 MB / 446.1 MB Notification: Performance of SimCode: time 0.001164/0.01393, allocations: 1.733 MB / 0.6048 GB, free: 8.148 MB / 446.1 MB Notification: Performance of Templates: time 0.007524/0.02145, allocations: 6.196 MB / 0.6108 GB, free: 2.008 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties -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 IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.o IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:201:58: error: use of undeclared identifier 'i' tmp5 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:204:118: error: use of undeclared identifier 'i' tmp9 = modelica_real_to_modelica_string((&data->localData[0]->realVars[16] /* basPro.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:207:22: error: use of undeclared identifier 'i' switch(i) ^ IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:215:117: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"WaterDetailed\"}", (long) i); ^ 4 errors generated. make: *** [: IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.o] Error 1