Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001348/0.001348, allocations: 105.1 kB / 16.42 MB, free: 6.516 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.001229/0.001229, allocations: 190 kB / 17.35 MB, free: 5.73 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.145e-05, allocations: 2.281 kB / 0.5863 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001257/0.001288, allocations: 0.5673 MB / 0.5868 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001809/0.001481, allocations: 41.78 kB / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.001504, allocations: 0 / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.001535, allocations: 1.438 kB / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.376e-05/0.001563, allocations: 1.281 kB / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.001712, allocations: 13.27 kB / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.001794, allocations: 7.422 kB / 0.5869 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.941e-05/0.00183, allocations: 6.359 kB / 0.5869 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.001848, allocations: 1.094 kB / 0.5869 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.597e-05/0.001879, allocations: 2.031 kB / 0.5869 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.001892, allocations: 0 / 0.5869 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.001953, allocations: 20.89 kB / 0.5869 GB, free: 21.32 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.069e-05/0.00199, allocations: 12.47 kB / 0.5869 GB, free: 21.31 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.434e-06/0.001998, allocations: 5.062 kB / 0.5869 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.927e-06/0.002011, allocations: 0.9062 kB / 0.5869 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.745e-06/0.002023, allocations: 0 / 0.5869 GB, free: 21.3 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0001882/0.002216, allocations: 171.2 kB / 0.5871 GB, free: 21.06 MB / 446.1 MB Notification: Performance of FunctionAlias: time 9.287e-06/0.002232, allocations: 5.078 kB / 0.5871 GB, free: 21.06 MB / 446.1 MB Notification: Performance of Early Inline: time 4.378e-05/0.002281, allocations: 60.14 kB / 0.5872 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simplify1: time 1.773e-06/0.002288, allocations: 0 / 0.5872 GB, free: 20.98 MB / 446.1 MB Notification: Performance of Alias: time 3.422e-05/0.002326, allocations: 52.06 kB / 0.5872 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simplify2: time 1.242e-06/0.002334, allocations: 12.39 kB / 0.5872 GB, free: 20.89 MB / 446.1 MB Notification: Performance of Events: time 3.936e-05/0.002378, allocations: 7.203 kB / 0.5872 GB, free: 20.89 MB / 446.1 MB Notification: Performance of Detect States: time 4.099e-05/0.002424, allocations: 35.55 kB / 0.5873 GB, free: 20.84 MB / 446.1 MB Notification: Performance of Partitioning: time 3.73e-05/0.002468, allocations: 13.88 kB / 0.5873 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001639/0.002637, allocations: 75.94 kB / 0.5873 GB, free: 20.79 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.234e-05/0.002678, allocations: 53.77 kB / 0.5874 GB, free: 20.72 MB / 446.1 MB Notification: Performance of Inline: time 4.827e-05/0.002733, allocations: 81.5 kB / 0.5875 GB, free: 20.62 MB / 446.1 MB Notification: Performance of Partitioning: time 7.034e-06/0.002747, allocations: 10.09 kB / 0.5875 GB, free: 20.61 MB / 446.1 MB Notification: Performance of Cleanup: time 7.745e-06/0.00276, allocations: 6.625 kB / 0.5875 GB, free: 20.6 MB / 446.1 MB Notification: Performance of Causalize: time 9.869e-05/0.002863, allocations: 80.05 kB / 0.5876 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Tearing: time 4.508e-06/0.002875, allocations: 1.188 kB / 0.5876 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Initialization: time 3.21e-07/0.00288, allocations: 0 / 0.5876 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Tearing: time 7.71e-07/0.002886, allocations: 1.375 kB / 0.5876 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Categorize: time 6.002e-06/0.002897, allocations: 1.375 kB / 0.5876 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Solve: time 2.656e-05/0.002927, allocations: 6.25 kB / 0.5876 GB, free: 20.56 MB / 446.1 MB Notification: Performance of Jacobian: time 2.254e-06/0.002934, allocations: 0 / 0.5876 GB, free: 20.56 MB / 446.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.795e-05/0.002981, allocations: 12.83 kB / 0.5876 GB, free: 20.55 MB / 446.1 MB Notification: Performance of SimCode: time 0.0003749/0.003361, allocations: 0.819 MB / 0.5884 GB, free: 19.78 MB / 446.1 MB Notification: Performance of Templates: time 0.002181/0.005554, allocations: 416.8 kB / 0.5888 GB, free: 19.59 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.c IDEAS_dev_IDEAS.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: *** [: IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration_functions.o] Error 1