Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test18_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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_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.01124/0.01124, allocations: 105.8 kB / 15.06 MB, free: 5.555 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.001172/0.001172, allocations: 166.9 kB / 15.93 MB, free: 5.527 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.744/1.744, allocations: 170.9 MB / 187.6 MB, free: 0.9727 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.2532/0.2532, allocations: 38.1 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006082/0.0006083, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.08921, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002326/0.09159, allocations: 1.261 MB / 373.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.09236, allocations: 287.7 kB / 373.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.09243, allocations: 4 kB / 373.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.0926, allocations: 11.98 kB / 373.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.09279, allocations: 31.84 kB / 373.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.09297, allocations: 39.89 kB / 373.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.09312, allocations: 39.89 kB / 374 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.09324, allocations: 19.97 kB / 374 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.09333, allocations: 19.92 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.09341, allocations: 31.83 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.09345, allocations: 8 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.09358, allocations: 35.92 kB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.09362, allocations: 4 kB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.09367, allocations: 41.62 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.09388, allocations: 75.88 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.09389, allocations: 0 / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09391, allocations: 0 / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.09392, allocations: 0 / 374.2 MB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007381/0.09466, allocations: 433 kB / 374.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.09472, allocations: 12.02 kB / 374.6 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.09477, allocations: 38.56 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.09482, allocations: 7.906 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.09506, allocations: 179 kB / 374.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.09508, allocations: 4 kB / 374.8 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.09512, allocations: 3.984 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.09555, allocations: 107.4 kB / 375 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.09558, allocations: 0 / 375 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.0956, allocations: 0 / 375 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.09561, allocations: 0 / 375 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.09623, allocations: 95.92 kB / 375.1 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.09673, allocations: 312.6 kB / 375.4 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.09713, allocations: 86.52 kB / 375.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.09717, allocations: 0 / 375.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.09721, allocations: 34.56 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.09723, allocations: 3.938 kB / 375.5 MB, free: 9.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.002856/0.1001, allocations: 465.1 kB / 375.9 MB, free: 8.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1002, allocations: 81.11 kB / 376 MB, free: 8.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1003, allocations: 137.1 kB / 376.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1004, allocations: 29.7 kB / 376.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.1005, allocations: 88.33 kB / 376.3 MB, free: 8.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.1005, allocations: 35.56 kB / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.1005, allocations: 0 / 376.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1007, allocations: 314.8 kB / 376.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.1012, allocations: 95.92 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.1018, allocations: 113.6 kB / 376.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.1024, allocations: 113.7 kB / 376.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1024, allocations: 3.938 kB / 376.9 MB, free: 7.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001215/0.1036, allocations: 267.5 kB / 377.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.1037, allocations: 29.7 kB / 377.2 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1037, allocations: 0 / 377.2 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1037, allocations: 0 / 377.2 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.1041, allocations: 51.95 kB / 377.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1042, allocations: 4 kB / 377.3 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.1045, allocations: 35.97 kB / 377.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1045, allocations: 3.953 kB / 377.3 MB, free: 7.547 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001264/0.1046, allocations: 118.8 kB / 377.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.1047, allocations: 11.91 kB / 377.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.1059, allocations: 250.2 kB / 377.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.106, allocations: 0 / 377.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.106, allocations: 0 / 377.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.106, allocations: 0 / 377.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.1075, allocations: 0.5101 MB / 378.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1075, allocations: 0 / 378.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.1079, allocations: 51.95 kB / 378.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1079, allocations: 0 / 378.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.108, allocations: 0 / 378.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.108, allocations: 0 / 378.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.108, allocations: 0 / 378.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.1093, allocations: 331.2 kB / 378.6 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1094, allocations: 81.02 kB / 378.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.1094, allocations: 8 kB / 378.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.1097, allocations: 31.97 kB / 378.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.1098, allocations: 7.984 kB / 378.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1099, allocations: 11.98 kB / 378.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.11, allocations: 99.22 kB / 378.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.11, allocations: 0 / 378.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003932/0.1104, allocations: 40 kB / 378.8 MB, free: 5.906 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002377/0.1128, allocations: 1.08 MB / 379.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.114, allocations: 255.2 kB / 380.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.114, allocations: 0 / 380.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.1146, allocations: 103.9 kB / 380.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.115, allocations: 15.98 kB / 380.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009343/0.1159, allocations: 414.9 kB / 380.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1162, allocations: 0.6965 MB / 381.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1164, allocations: 16.11 kB / 381.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1165, allocations: 35.36 kB / 381.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1165, allocations: 0 / 381.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1413, allocations: 2.686 MB / 384.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003812/0.1418, allocations: 266.2 kB / 384.4 MB, free: 276 kB / 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_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_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_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_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_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_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_CombiTable2D_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o] Error 1