Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01174/0.01175, allocations: 163 kB / 15.12 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.801/1.801, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001738, allocations: 110.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4882/0.4882, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004553, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 48.72 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002421/0.1083, allocations: 1.298 MB / 413 MB, free: 3.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1094, allocations: 447.4 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.1095, allocations: 0 / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1098, allocations: 31.91 kB / 413.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.11, allocations: 27.91 kB / 413.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1102, allocations: 59.81 kB / 413.6 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1104, allocations: 63.77 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.1105, allocations: 12.16 kB / 413.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.1106, allocations: 31.86 kB / 413.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.1107, allocations: 27.84 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1107, allocations: 4 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1109, allocations: 55.98 kB / 413.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.111, allocations: 19.91 kB / 413.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.111, allocations: 33.7 kB / 413.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1113, allocations: 100 kB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1113, allocations: 3.938 kB / 413.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1113, allocations: 0 / 413.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1113, allocations: 0 / 413.9 MB, free: 2.449 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005493/0.1119, allocations: 408.8 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1119, allocations: 8.031 kB / 414.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.112, allocations: 38.55 kB / 414.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.112, allocations: 7.906 kB / 414.4 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1123, allocations: 202.8 kB / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1123, allocations: 0 / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1124, allocations: 4 kB / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1125, allocations: 67.33 kB / 414.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1126, allocations: 4 kB / 414.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1126, allocations: 0 / 414.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1126, allocations: 0 / 414.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.1127, allocations: 19.98 kB / 414.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1131, allocations: 280.9 kB / 414.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.1132, allocations: 38.56 kB / 415 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.1133, allocations: 12.8 kB / 415 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1133, allocations: 8 kB / 415 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1135, allocations: 59.48 kB / 415 MB, free: 1.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.1135, allocations: 0 / 415 MB, free: 1.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004985/0.114, allocations: 125.7 kB / 415.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1141, allocations: 77.11 kB / 415.2 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1143, allocations: 153.5 kB / 415.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1143, allocations: 25.7 kB / 415.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1144, allocations: 92.14 kB / 415.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1144, allocations: 23.73 kB / 415.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.1144, allocations: 0 / 415.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1146, allocations: 318.8 kB / 415.8 MB, free: 284 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.1147, allocations: 23.98 kB / 415.9 MB, free: 260 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.1147, allocations: 33.7 kB / 415.9 MB, free: 220 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.77e-05/0.1149, allocations: 53.73 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1149, allocations: 3.938 kB / 416 MB, free: 156 kB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002579/0.1151, allocations: 127.3 kB / 416.1 MB, free: 16 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.1152, allocations: 33.69 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1152, allocations: 0 / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1153, allocations: 0 / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1154, allocations: 16 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1154, allocations: 3.938 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.1155, allocations: 7.984 kB / 416.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1155, allocations: 3.953 kB / 416.1 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.1156, allocations: 124.1 kB / 416.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1157, allocations: 11.91 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1159, allocations: 82.05 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1159, allocations: 0 / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1159, allocations: 0 / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1159, allocations: 0 / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.1164, allocations: 346.5 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1164, allocations: 0 / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.1165, allocations: 7.984 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1165, allocations: 4 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1165, allocations: 4 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1165, allocations: 0 / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1165, allocations: 0 / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1168, allocations: 183.3 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1168, allocations: 81.02 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1169, allocations: 4 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.117, allocations: 256 / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.117, allocations: 19.92 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1171, allocations: 11.98 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1172, allocations: 103.2 kB / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1172, allocations: 0 / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.1176, allocations: 39.98 kB / 417.1 MB, free: 14.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/0.1193, allocations: 1.03 MB / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1195, allocations: 119.4 kB / 418.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1195, allocations: 0 / 418.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.1196, allocations: 19.94 kB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.12, allocations: 15.98 kB / 418.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1212, allocations: 0.5478 MB / 418.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1216, allocations: 0.6972 MB / 419.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.629e-05/0.1217, allocations: 16.16 kB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/0.1218, allocations: 27.42 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of SimCode: time 2.785e-06/0.1218, allocations: 4 kB / 419.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.146, allocations: 2.913 MB / 422.5 MB, free: 9.406 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004376/0.1466, allocations: 264.8 kB / 422.8 MB, free: 9.043 MB / 330.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables/usertab.c:16:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1