Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 103 kB / 16.42 MB, free: 6.422 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.001067/0.001067, allocations: 192.2 kB / 17.35 MB, free: 5.719 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.144/1.144, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 292.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8203/0.8203, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.314e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001046/0.001067, allocations: 0.5802 MB / 0.6826 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.001248, allocations: 43.81 kB / 0.6827 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.001274, allocations: 0 / 0.6827 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.001299, allocations: 0 / 0.6827 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.001327, allocations: 0 / 0.6827 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.001479, allocations: 19.91 kB / 0.6827 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.001554, allocations: 11.98 kB / 0.6827 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.731e-05/0.001594, allocations: 4 kB / 0.6827 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.001615, allocations: 0 / 0.6827 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.001641, allocations: 0 / 0.6827 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.001655, allocations: 4 kB / 0.6827 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.001718, allocations: 15.98 kB / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.517e-05/0.001749, allocations: 7.938 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.983e-06/0.001761, allocations: 7.906 kB / 0.6827 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-06/0.001772, allocations: 0 / 0.6827 GB, free: 6.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.392e-06/0.001782, allocations: 0 / 0.6827 GB, free: 6.32 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.000209/0.001996, allocations: 169.2 kB / 0.6829 GB, free: 6.055 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.263e-05/0.002014, allocations: 7.891 kB / 0.6829 GB, free: 6.047 MB / 494.1 MB Notification: Performance of Early Inline: time 4.959e-05/0.002068, allocations: 52.42 kB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simplify1: time 4.368e-06/0.002077, allocations: 3.984 kB / 0.683 GB, free: 5.965 MB / 494.1 MB Notification: Performance of Alias: time 3.932e-05/0.00212, allocations: 56.55 kB / 0.683 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simplify2: time 8.72e-07/0.002126, allocations: 0 / 0.683 GB, free: 5.871 MB / 494.1 MB Notification: Performance of Events: time 3.804e-05/0.002168, allocations: 7.953 kB / 0.683 GB, free: 5.863 MB / 494.1 MB Notification: Performance of Detect States: time 4.132e-05/0.002216, allocations: 30.22 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of Partitioning: time 3.752e-05/0.002259, allocations: 28.05 kB / 0.6831 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001531/0.002417, allocations: 79.94 kB / 0.6832 GB, free: 5.699 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 4.304e-05/0.002468, allocations: 56.34 kB / 0.6832 GB, free: 5.617 MB / 494.1 MB Notification: Performance of Inline: time 5.949e-05/0.002533, allocations: 76.48 kB / 0.6833 GB, free: 5.508 MB / 494.1 MB Notification: Performance of Partitioning: time 1.051e-05/0.002549, allocations: 16.12 kB / 0.6833 GB, free: 5.484 MB / 494.1 MB Notification: Performance of Cleanup: time 8.786e-06/0.002562, allocations: 7.938 kB / 0.6833 GB, free: 5.477 MB / 494.1 MB Notification: Performance of Causalize: time 9.469e-05/0.00266, allocations: 80.08 kB / 0.6834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of Tearing: time 3.496e-06/0.002672, allocations: 0 / 0.6834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of Initialization: time 2.51e-07/0.002676, allocations: 0 / 0.6834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of Tearing: time 6.51e-07/0.00268, allocations: 0 / 0.6834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of Categorize: time 5.901e-06/0.002689, allocations: 4 kB / 0.6834 GB, free: 5.387 MB / 494.1 MB Notification: Performance of Solve: time 2.411e-05/0.002717, allocations: 3.938 kB / 0.6834 GB, free: 5.383 MB / 494.1 MB Notification: Performance of Jacobian: time 2.234e-06/0.002724, allocations: 0 / 0.6834 GB, free: 5.383 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:0, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 1 (scalar:0, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 2.678e-05/0.002754, allocations: 23.86 kB / 0.6834 GB, free: 5.371 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004149/0.003173, allocations: 0.8068 MB / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of Templates: time 0.001869/0.005051, allocations: 411.8 kB / 0.6846 GB, free: 4.145 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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_Utilities_Math_Functions_Examples_TrapezoidalIntegration -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.Utilities.Math.Functions.Examples.TrapezoidalIntegration.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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_Utilities_Math_Functions_Examples_TrapezoidalIntegration -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.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ 1 error generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o] Error 1