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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.001661, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008636/0.0008635, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2018/0.2018, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1314, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5196, allocations: 87.03 MB / 0.5638 GB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.5198, allocations: 69.09 kB / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.5303, allocations: 3.933 MB / 0.5678 GB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5303, allocations: 0 / 0.5678 GB, free: 9.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.5304, allocations: 0 / 0.5678 GB, free: 9.234 MB / 378.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.0005819/0.5309, allocations: 434.5 kB / 0.5682 GB, free: 8.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.531, allocations: 16.03 kB / 0.5682 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.531, allocations: 33.69 kB / 0.5682 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.5311, allocations: 11.86 kB / 0.5682 GB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.5313, allocations: 193.8 kB / 0.5684 GB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.5313, allocations: 0 / 0.5684 GB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.5314, allocations: 7.75 kB / 0.5684 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.5317, allocations: 105.9 kB / 0.5685 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5317, allocations: 0 / 0.5685 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5317, allocations: 0 / 0.5685 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5317, allocations: 7.953 kB / 0.5685 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.532, allocations: 94.42 kB / 0.5686 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.5324, allocations: 309.2 kB / 0.5689 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.5327, allocations: 85.16 kB / 0.569 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5327, allocations: 3.984 kB / 0.569 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5327, allocations: 38.52 kB / 0.569 GB, free: 7.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5327, allocations: 0 / 0.569 GB, free: 7.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001594/0.5343, allocations: 465.3 kB / 0.5695 GB, free: 7.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.5344, allocations: 77.11 kB / 0.5696 GB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.5346, allocations: 135.8 kB / 0.5697 GB, free: 7.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5346, allocations: 28.95 kB / 0.5697 GB, free: 7.148 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.5347, allocations: 103.1 kB / 0.5698 GB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.5347, allocations: 19.59 kB / 0.5698 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.5347, allocations: 3.5 kB / 0.5698 GB, free: 7.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5348, allocations: 322.5 kB / 0.5701 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.5351, allocations: 86.8 kB / 0.5702 GB, free: 6.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.5355, allocations: 104.9 kB / 0.5703 GB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.5358, allocations: 90.89 kB / 0.5704 GB, free: 6.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5358, allocations: 0 / 0.5704 GB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006175/0.5364, allocations: 234 kB / 0.5706 GB, free: 6.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5364, allocations: 4 kB / 0.5706 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5364, allocations: 0 / 0.5706 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5365, allocations: 11.94 kB / 0.5706 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.5367, allocations: 43.95 kB / 0.5707 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5367, allocations: 320 / 0.5707 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.5369, allocations: 39.41 kB / 0.5707 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5369, allocations: 0 / 0.5707 GB, free: 6.152 MB / 378.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 (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 9.765e-05/0.537, allocations: 121.2 kB / 0.5708 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.537, allocations: 12.23 kB / 0.5708 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.5377, allocations: 251.3 kB / 0.5711 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5377, allocations: 0 / 0.5711 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5377, allocations: 0 / 0.5711 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5377, allocations: 4 kB / 0.5711 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008875/0.5386, allocations: 0.5161 MB / 0.5716 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5386, allocations: 0 / 0.5716 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5388, allocations: 47.45 kB / 0.5716 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5388, allocations: 0 / 0.5716 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5388, allocations: 4 kB / 0.5716 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5389, allocations: 4 kB / 0.5717 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5389, allocations: 0 / 0.5717 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.5396, allocations: 323.8 kB / 0.572 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.5396, allocations: 89 kB / 0.572 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.5397, allocations: 3.625 kB / 0.572 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.5398, allocations: 39.91 kB / 0.5721 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.5399, allocations: 15.91 kB / 0.5721 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.5399, allocations: 7.312 kB / 0.5721 GB, free: 4.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.54, allocations: 117.4 kB / 0.5722 GB, free: 4.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.54, allocations: 0 / 0.5722 GB, free: 4.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000285/0.5403, allocations: 31.3 kB / 0.5722 GB, free: 4.605 MB / 378.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.001882/0.5422, allocations: 1.207 MB / 0.5734 GB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.5429, allocations: 195.8 kB / 0.5736 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5429, allocations: 0 / 0.5736 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.5432, allocations: 102.7 kB / 0.5737 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.5434, allocations: 15.12 kB / 0.5737 GB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.5452, allocations: 0.8564 MB / 0.5746 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.5455, allocations: 0.7043 MB / 0.5753 GB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.639e-05/0.5456, allocations: 12.73 kB / 0.5753 GB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.5457, allocations: 30.3 kB / 0.5753 GB, free: 1.598 MB / 378.7 MB Notification: Performance of SimCode: time 1.913e-06/0.5457, allocations: 0 / 0.5753 GB, free: 1.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.5605, allocations: 2.973 MB / 0.5782 GB, free: 14.64 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.5608, allocations: 224.3 kB / 0.5784 GB, free: 14.4 MB / 394.7 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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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