Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01057/0.01057, allocations: 176.3 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.169/2.169, allocations: 194.5 MB / 210.3 MB, free: 7.598 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.00179, allocations: 132 kB / 255.6 MB, free: 10.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2612/0.2612, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006618/0.0006621, allocations: 12.59 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.101, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.001877/0.1029, allocations: 1.243 MB / 462.4 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.1036, allocations: 271.8 kB / 462.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.1037, allocations: 3.938 kB / 462.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1039, allocations: 11.98 kB / 462.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.104, allocations: 31.91 kB / 462.7 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.1042, allocations: 31.91 kB / 462.7 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1043, allocations: 43.84 kB / 462.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.1044, allocations: 15.98 kB / 462.8 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.1045, allocations: 11.94 kB / 462.8 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.1045, allocations: 23.84 kB / 462.8 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1046, allocations: 4 kB / 462.8 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1047, allocations: 39.98 kB / 462.9 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.1047, allocations: 11.98 kB / 462.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1048, allocations: 37.64 kB / 462.9 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1049, allocations: 63.89 kB / 463 MB, free: 1.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.105, allocations: 0 / 463 MB, free: 1.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.105, allocations: 4 kB / 463 MB, free: 1.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.105, allocations: 0 / 463 MB, free: 1.32 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004591/0.1055, allocations: 384.9 kB / 463.4 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1055, allocations: 8.031 kB / 463.4 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.1056, allocations: 42.55 kB / 463.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1056, allocations: 15.86 kB / 463.4 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.1058, allocations: 179 kB / 463.6 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1058, allocations: 0 / 463.6 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1058, allocations: 4 kB / 463.6 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.106, allocations: 67.39 kB / 463.7 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.106, allocations: 3.938 kB / 463.7 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1061, allocations: 8 kB / 463.7 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1061, allocations: 4 kB / 463.7 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1062, allocations: 35.92 kB / 463.7 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.1067, allocations: 288.8 kB / 464 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1068, allocations: 50.55 kB / 464.1 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.1069, allocations: 16.86 kB / 464.1 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1069, allocations: 8.078 kB / 464.1 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.107, allocations: 30.56 kB / 464.1 MB, free: 12 kB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.107, allocations: 0 / 464.1 MB, free: 12 kB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009095/0.1079, allocations: 181.2 kB / 464.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.108, allocations: 77.11 kB / 464.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1081, allocations: 121.8 kB / 464.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1082, allocations: 25.7 kB / 464.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.1082, allocations: 92.12 kB / 464.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.1083, allocations: 27.64 kB / 464.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.1083, allocations: 3.938 kB / 464.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1084, allocations: 322.8 kB / 464.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1086, allocations: 23.98 kB / 465 MB, free: 15.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1088, allocations: 57.61 kB / 465 MB, free: 15.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.109, allocations: 57.7 kB / 465.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.109, allocations: 0 / 465.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003963/0.1094, allocations: 127.4 kB / 465.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.1094, allocations: 37.66 kB / 465.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1095, allocations: 0 / 465.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1095, allocations: 0 / 465.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1096, allocations: 15.98 kB / 465.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1097, allocations: 4 kB / 465.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.1097, allocations: 8 kB / 465.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1098, allocations: 0 / 465.3 MB, free: 14.77 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001147/0.1099, allocations: 129.8 kB / 465.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1099, allocations: 3.906 kB / 465.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.1104, allocations: 117.9 kB / 465.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1104, allocations: 0 / 465.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1104, allocations: 0 / 465.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1104, allocations: 4 kB / 465.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.1111, allocations: 366.5 kB / 465.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1111, allocations: 192 / 465.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1113, allocations: 23.94 kB / 465.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1113, allocations: 4 kB / 465.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1113, allocations: 0 / 465.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1113, allocations: 4 kB / 465.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1113, allocations: 0 / 465.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1117, allocations: 199.4 kB / 466.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.1118, allocations: 89.02 kB / 466.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1118, allocations: 7.953 kB / 466.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.112, allocations: 7.984 kB / 466.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.112, allocations: 4 kB / 466.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.112, allocations: 0 / 466.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1121, allocations: 103.2 kB / 466.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1122, allocations: 0 / 466.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.1125, allocations: 27.98 kB / 466.3 MB, free: 13.59 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0017/0.1142, allocations: 0.9938 MB / 467.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004062/0.1147, allocations: 127.3 kB / 467.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1147, allocations: 0 / 467.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1149, allocations: 35.98 kB / 467.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1153, allocations: 15.94 kB / 467.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1167, allocations: 0.542 MB / 468 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.117, allocations: 0.6926 MB / 468.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1171, allocations: 24.28 kB / 468.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.1172, allocations: 23.42 kB / 468.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1172, allocations: 0 / 468.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.14, allocations: 2.247 MB / 471 MB, free: 8.902 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004265/0.1405, allocations: 258.4 kB / 471.3 MB, free: 8.559 MB / 314.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.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_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.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_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_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1