Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_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.001414/0.001414, allocations: 96.83 kB / 15.69 MB, free: 480 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.001603/0.001603, allocations: 173 kB / 16.57 MB, free: 6.391 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.597/1.597, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4099/0.4099, allocations: 43.54 MB / 314.5 MB, free: 9.027 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.0005784/0.0005786, allocations: 15.98 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1556, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002479/0.1581, allocations: 1.361 MB / 444.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.1589, allocations: 303.8 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.124e-05/0.1591, allocations: 0 / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.1593, allocations: 31.78 kB / 444.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1596, allocations: 31.89 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.16, allocations: 107.8 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1602, allocations: 47.88 kB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1603, allocations: 16.2 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.1604, allocations: 27.86 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.1605, allocations: 35.83 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1605, allocations: 4 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.1607, allocations: 35.92 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.1607, allocations: 11.98 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1608, allocations: 33.64 kB / 444.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.161, allocations: 88.08 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.161, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.161, allocations: 3.938 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1611, allocations: 0 / 445 MB, free: 11.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000797/0.1619, allocations: 415 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.087e-05/0.1619, allocations: 11.97 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.736e-05/0.162, allocations: 38.55 kB / 445.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.1621, allocations: 15.86 kB / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1624, allocations: 190.9 kB / 445.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1625, allocations: 7.938 kB / 445.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1625, allocations: 8 kB / 445.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.1629, allocations: 99.36 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1629, allocations: 0 / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1629, allocations: 3.953 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.163, allocations: 8 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.1634, allocations: 91.86 kB / 445.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.1639, allocations: 304.8 kB / 446.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1642, allocations: 78.53 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.1642, allocations: 7.891 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1642, allocations: 34.69 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1642, allocations: 0 / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001816/0.1661, allocations: 469 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1661, allocations: 85.09 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1663, allocations: 145.3 kB / 446.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1664, allocations: 25.7 kB / 447 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.1664, allocations: 104 kB / 447.1 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1665, allocations: 23.66 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.1665, allocations: 0 / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1667, allocations: 326.8 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.167, allocations: 87.92 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.1674, allocations: 109.7 kB / 447.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1676, allocations: 87.95 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1677, allocations: 0 / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006712/0.1683, allocations: 233.4 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1684, allocations: 4 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1684, allocations: 4 kB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1684, allocations: 0 / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.1687, allocations: 48.33 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1687, allocations: 0 / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.1689, allocations: 35.97 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1689, allocations: 8 kB / 448 MB, free: 7.785 MB / 382.1 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 (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 prepare postOptimizeDAE: time 0.0001249/0.169, allocations: 133.8 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1691, allocations: 7.906 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.1698, allocations: 246.1 kB / 448.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1699, allocations: 7.875 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.1699, allocations: 4 kB / 448.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1699, allocations: 0 / 448.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.171, allocations: 0.5023 MB / 448.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.171, allocations: 0 / 448.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.1712, allocations: 55.89 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1712, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1713, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1713, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1713, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008341/0.1721, allocations: 327.6 kB / 449.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.1722, allocations: 85.02 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1722, allocations: 4 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1725, allocations: 43.95 kB / 449.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.1725, allocations: 7.984 kB / 449.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1726, allocations: 3.984 kB / 449.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1727, allocations: 115.2 kB / 449.5 MB, free: 6.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.595e-06/0.1727, allocations: 4 kB / 449.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1731, allocations: 35.94 kB / 449.6 MB, free: 6.121 MB / 382.1 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.002437/0.1755, allocations: 1.195 MB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.1762, allocations: 195.8 kB / 451 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1762, allocations: 0 / 451 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.1765, allocations: 95.92 kB / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1768, allocations: 15.98 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.1789, allocations: 0.8416 MB / 451.9 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.1793, allocations: 0.6965 MB / 452.6 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1795, allocations: 24.66 kB / 452.6 MB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.1796, allocations: 35.42 kB / 452.7 MB, free: 2.969 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1796, allocations: 0 / 452.7 MB, free: 2.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2629/0.4425, allocations: 3.013 MB / 455.7 MB, free: 46.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.4428, allocations: 227.8 kB / 455.9 MB, free: 45.92 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_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_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_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_CombiTable2D_Test18_usertab_functions.o] Error 1