Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009317/0.0009318, allocations: 174 kB / 16.58 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3305/0.3305, allocations: 43.55 MB / 314.6 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004495, allocations: 14.97 kB / 384 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 58.85 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.001961/0.1038, allocations: 1.402 MB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1049, allocations: 0.7578 MB / 445 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.105, allocations: 7.938 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1052, allocations: 39.89 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1054, allocations: 31.84 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1056, allocations: 79.83 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1057, allocations: 83.7 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.1058, allocations: 8.219 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.1059, allocations: 43.77 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.1059, allocations: 27.86 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.106, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1061, allocations: 63.95 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1061, allocations: 11.94 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.1062, allocations: 41.62 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1063, allocations: 92.08 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1063, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1063, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1063, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004607/0.1068, allocations: 402.9 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1069, allocations: 12.03 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.1069, allocations: 34.56 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.1069, allocations: 7.906 kB / 446 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1071, allocations: 202.9 kB / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1072, allocations: 4 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1072, allocations: 4 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1073, allocations: 79.33 kB / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1074, allocations: 0 / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1074, allocations: 0 / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1074, allocations: 4 kB / 446.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.1075, allocations: 27.92 kB / 446.3 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1078, allocations: 284.8 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.108, allocations: 66.44 kB / 446.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.108, allocations: 24.97 kB / 446.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1081, allocations: 8 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.1083, allocations: 79.23 kB / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1083, allocations: 0 / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004907/0.1088, allocations: 181.3 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1088, allocations: 77.11 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1089, allocations: 153.1 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.109, allocations: 29.7 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.109, allocations: 96.12 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.1091, allocations: 23.66 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1091, allocations: 4 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1092, allocations: 326.8 kB / 447.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.1092, allocations: 23.98 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.1093, allocations: 46.5 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.1094, allocations: 31.95 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1094, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001701/0.1095, allocations: 105.4 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1096, allocations: 4 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1096, allocations: 0 / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1096, allocations: 4 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1097, allocations: 15.98 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1097, allocations: 0 / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1097, allocations: 8 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1098, allocations: 8.031 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 8.184e-05/0.1099, allocations: 133.7 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1099, allocations: 8.094 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.1101, allocations: 118.2 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1101, allocations: 0 / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1101, allocations: 0 / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1101, allocations: 0 / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.1105, allocations: 407.3 kB / 448.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1105, allocations: 0 / 448.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.1106, allocations: 15.94 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1106, allocations: 0 / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1106, allocations: 7.984 kB / 448.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1106, allocations: 4 kB / 448.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1106, allocations: 0 / 448.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.1108, allocations: 208.2 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.1109, allocations: 96.91 kB / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1109, allocations: 4 kB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.111, allocations: 0 / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.111, allocations: 7.984 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.111, allocations: 8 kB / 448.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.1111, allocations: 119.2 kB / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1111, allocations: 0 / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1114, allocations: 36 kB / 449 MB, free: 6.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001364/0.1128, allocations: 1.153 MB / 450.2 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1129, allocations: 59.97 kB / 450.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.113, allocations: 4.062 kB / 450.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.113, allocations: 31.92 kB / 450.3 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1133, allocations: 24.17 kB / 450.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.1143, allocations: 0.6392 MB / 450.9 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1145, allocations: 0.6967 MB / 451.6 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.077e-05/0.1146, allocations: 29.11 kB / 451.7 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.1147, allocations: 31.42 kB / 451.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1147, allocations: 0 / 451.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1281, allocations: 3.163 MB / 454.9 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.1284, allocations: 242.4 kB / 455.1 MB, free: 484 kB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_3_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_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_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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. make: *** [: ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1