Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108.6 kB / 16.42 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.001184/0.001184, allocations: 187.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.125/1.125, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001877/0.001877, allocations: 284.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8005/0.8005, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.73e-05, allocations: 2.281 kB / 0.682 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001784/0.001809, allocations: 1.389 MB / 0.6834 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.004793, allocations: 2.903 MB / 0.6862 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.004836, allocations: 0 / 0.6862 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.933e-05/0.004932, allocations: 11.92 kB / 0.6862 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.005045, allocations: 39.81 kB / 0.6863 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.005531, allocations: 183.1 kB / 0.6864 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.005674, allocations: 99.61 kB / 0.6865 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.00572, allocations: 7.938 kB / 0.6865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.005776, allocations: 47.83 kB / 0.6866 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.005841, allocations: 43.89 kB / 0.6866 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.005863, allocations: 4 kB / 0.6866 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.006144, allocations: 127.9 kB / 0.6867 GB, free: 2.195 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001016/0.006255, allocations: 103.1 kB / 0.6868 GB, free: 2.094 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 3.936e-05/0.0063, allocations: 59.38 kB / 0.6869 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.006318, allocations: 4 kB / 0.6869 GB, free: 2.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.756e-06/0.006331, allocations: 0 / 0.6869 GB, free: 2.031 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 (7) * Number of variables: 37 (7) Notification: Performance of Bindings: time 0.0004154/0.00675, allocations: 411.7 kB / 0.6873 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.266e-05/0.006778, allocations: 15.91 kB / 0.6873 GB, free: 1.512 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0002116/0.006994, allocations: 220.1 kB / 0.6875 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simplify1: time 4.328e-06/0.00701, allocations: 0 / 0.6875 GB, free: 1.27 MB / 494.1 MB Notification: Performance of Alias: time 0.0002571/0.007271, allocations: 144.8 kB / 0.6877 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simplify2: time 4.078e-06/0.007284, allocations: 3.984 kB / 0.6877 GB, free: 1.078 MB / 494.1 MB Notification: Performance of Events: time 7.838e-05/0.007366, allocations: 43.89 kB / 0.6877 GB, free: 1.035 MB / 494.1 MB Notification: Performance of Detect States: time 7.363e-05/0.007446, allocations: 54.22 kB / 0.6878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of Partitioning: time 6.257e-05/0.007515, allocations: 52.11 kB / 0.6878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004979/0.008018, allocations: 0.5042 MB / 0.6883 GB, free: 416 kB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001456/0.008173, allocations: 188.2 kB / 0.6885 GB, free: 200 kB / 494.1 MB Notification: Performance of Inline: time 0.2266/0.2348, allocations: 315.8 kB / 0.6888 GB, free: 14.1 MB / 494.1 MB Notification: Performance of Partitioning: time 3.002e-05/0.2348, allocations: 15.94 kB / 0.6888 GB, free: 14.09 MB / 494.1 MB Notification: Performance of Cleanup: time 2.204e-05/0.2348, allocations: 15.58 kB / 0.6888 GB, free: 14.09 MB / 494.1 MB Notification: Performance of Causalize: time 0.000631/0.2355, allocations: 0.5581 MB / 0.6894 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Tearing: time 5.591e-06/0.2355, allocations: 0 / 0.6894 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Initialization: time 3.8e-07/0.2355, allocations: 0.6875 kB / 0.6894 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Tearing: time 2.324e-06/0.2355, allocations: 1 kB / 0.6894 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Categorize: time 6.833e-06/0.2355, allocations: 5.031 kB / 0.6894 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Solve: time 0.0001092/0.2356, allocations: 41.36 kB / 0.6894 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Jacobian: time 3.025e-06/0.2356, allocations: 3.172 kB / 0.6894 GB, free: 14.05 MB / 494.1 MB 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: ......... 1 * 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: ................. 7 (1) {$SEV_0[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.595e-05/0.2357, allocations: 14.53 kB / 0.6894 GB, free: 14.04 MB / 494.1 MB Notification: Performance of SimCode: time 0.001136/0.2368, allocations: 1.453 MB / 0.6908 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Templates: time 0.004143/0.241, allocations: 1.955 MB / 0.6927 GB, free: 12.9 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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=BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater -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 BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.o BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.c 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=BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater -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 BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.o BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c:16:124: error: use of undeclared identifier '_OMC_LIT8' _d = omc_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_Medium_polynomialProperty(threadData, _X_a, _T, _OMC_LIT8); ^ BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c:39:141: error: use of undeclared identifier '_OMC_LIT11' _eta = (0.001) * (exp(omc_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_Medium_polynomialProperty(threadData, _X_a, _T, _OMC_LIT11))); ^ BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c:62:179: error: use of undeclared identifier '_OMC_LIT12' _Tf = omc_Modelica_Units_Conversions_from__degC(threadData, omc_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_Medium_polynomialProperty(threadData, _X_a, _T, _OMC_LIT12)); ^ BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c:125:70: error: use of undeclared identifier '_OMC_LIT13' tmp15 = ((modelica_integer) 0); tmp16 = 1; tmp17 = integer_get(_OMC_LIT13, (_i + ((modelica_integer) 1))-1) - ((modelica_integer) 1); ^ BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c:259:125: error: use of undeclared identifier '_OMC_LIT16' _cp = omc_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_Medium_polynomialProperty(threadData, _X_a, _T, _OMC_LIT16); ^ BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.c:397:129: error: use of undeclared identifier '_OMC_LIT19' _lambda = omc_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_Medium_polynomialProperty(threadData, _X_a, _T, _OMC_LIT19); ^ 6 errors generated. make: *** [: BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_functions.o] Error 1