Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01072/0.01072, allocations: 103 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001138/0.001137, allocations: 174 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.588/1.588, allocations: 170.9 MB / 187.5 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2462/0.2462, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004798, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.0874, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002276/0.08973, allocations: 1.298 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.09086, allocations: 439.3 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.09094, allocations: 0 / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.09122, allocations: 23.92 kB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.09142, allocations: 39.81 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.09166, allocations: 51.88 kB / 374.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.09182, allocations: 51.88 kB / 374.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.09193, allocations: 12.17 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.09202, allocations: 27.84 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.09209, allocations: 19.92 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.09212, allocations: 4 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.09232, allocations: 55.89 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.09237, allocations: 4 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.09243, allocations: 37.64 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.09268, allocations: 100 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0927, allocations: 4 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09271, allocations: 0 / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09272, allocations: 0 / 374.4 MB, free: 10.68 MB / 282.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.0005271/0.09326, allocations: 408.8 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.09331, allocations: 12.03 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.09337, allocations: 34.55 kB / 374.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.09341, allocations: 4 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.09366, allocations: 194.8 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.09369, allocations: 4 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.09373, allocations: 8 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.0939, allocations: 71.27 kB / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.09393, allocations: 0 / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.09395, allocations: 0 / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.09396, allocations: 0 / 375.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.09405, allocations: 23.98 kB / 375.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.09447, allocations: 288.9 kB / 375.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.09458, allocations: 38.5 kB / 375.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.09462, allocations: 0 / 375.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.0948, allocations: 63.48 kB / 375.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.09482, allocations: 0 / 375.6 MB, free: 9.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004983/0.09532, allocations: 121.3 kB / 375.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.09539, allocations: 81.11 kB / 375.8 MB, free: 9.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.09557, allocations: 137.2 kB / 375.9 MB, free: 9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.09561, allocations: 29.7 kB / 375.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.09568, allocations: 92.12 kB / 376 MB, free: 8.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.09573, allocations: 15.81 kB / 376 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.09575, allocations: 0 / 376 MB, free: 8.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.09587, allocations: 326.8 kB / 376.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.09594, allocations: 12 kB / 376.4 MB, free: 8.516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.09604, allocations: 41.7 kB / 376.4 MB, free: 8.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.09617, allocations: 57.66 kB / 376.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.09618, allocations: 0 / 376.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000262/0.09645, allocations: 123.3 kB / 376.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.09651, allocations: 37.69 kB / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.09652, allocations: 0 / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.09654, allocations: 0 / 376.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.09666, allocations: 8 kB / 376.6 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.09668, allocations: 7.969 kB / 376.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.09676, allocations: 11.94 kB / 376.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.0968, allocations: 4 kB / 376.7 MB, free: 8.199 MB / 282.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.0001179/0.09693, allocations: 130.8 kB / 376.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.09697, allocations: 7.906 kB / 376.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.09722, allocations: 82.2 kB / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.09724, allocations: 0 / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09726, allocations: 4 kB / 376.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.09727, allocations: 0 / 376.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.09772, allocations: 346.5 kB / 377.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.09774, allocations: 4.562 kB / 377.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.09781, allocations: 8 kB / 377.2 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.09782, allocations: 3.984 kB / 377.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.09785, allocations: 7.984 kB / 377.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.09786, allocations: 7.984 kB / 377.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.09787, allocations: 0 / 377.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.0981, allocations: 171.3 kB / 377.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.09817, allocations: 93 kB / 377.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.09821, allocations: 4 kB / 377.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.09832, allocations: 4 kB / 377.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.09837, allocations: 0 / 377.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.0984, allocations: 7.984 kB / 377.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.09852, allocations: 103.3 kB / 377.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.09853, allocations: 4 kB / 377.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003984/0.09894, allocations: 35.98 kB / 377.7 MB, free: 7.086 MB / 282.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.001673/0.1006, allocations: 1.053 MB / 378.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1009, allocations: 107.4 kB / 378.8 MB, free: 6.008 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1009, allocations: 4 kB / 378.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.101, allocations: 19.94 kB / 378.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1013, allocations: 15.98 kB / 378.9 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.1021, allocations: 395.2 kB / 379.2 MB, free: 5.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1024, allocations: 0.6965 MB / 379.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.505e-05/0.1025, allocations: 15.98 kB / 380 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.1026, allocations: 31.36 kB / 380 MB, free: 4.762 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1026, allocations: 0 / 380 MB, free: 4.762 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.1305, allocations: 2.877 MB / 382.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.1309, allocations: 263.8 kB / 383.1 MB, free: 1.551 MB / 282.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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