Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001031/0.001032, allocations: 182.4 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.341/1.341, 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.001148/0.001148, allocations: 98.83 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.1998/0.1998, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5123, allocations: 87.42 MB / 0.5642 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5125, allocations: 75.7 kB / 0.5643 GB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.5234, allocations: 4.036 MB / 0.5682 GB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5234, allocations: 0 / 0.5682 GB, free: 8.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.5235, allocations: 15.98 kB / 0.5683 GB, free: 8.727 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.0005674/0.524, allocations: 426.2 kB / 0.5687 GB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5241, allocations: 12.03 kB / 0.5687 GB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.5241, allocations: 34.12 kB / 0.5687 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.5242, allocations: 15.77 kB / 0.5687 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.5244, allocations: 205.6 kB / 0.5689 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.5244, allocations: 4 kB / 0.5689 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.5245, allocations: 3.5 kB / 0.5689 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.5248, allocations: 105.5 kB / 0.569 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.5248, allocations: 0 / 0.569 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5248, allocations: 0 / 0.569 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.5248, allocations: 11.89 kB / 0.569 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.5252, allocations: 101.5 kB / 0.5691 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.5258, allocations: 348.5 kB / 0.5695 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5261, allocations: 76.97 kB / 0.5695 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.5261, allocations: 7.938 kB / 0.5695 GB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5261, allocations: 42.5 kB / 0.5696 GB, free: 7.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.5261, allocations: 0 / 0.5696 GB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001648/0.5278, allocations: 488.4 kB / 0.5701 GB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5279, allocations: 77.11 kB / 0.5701 GB, free: 6.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.528, allocations: 143 kB / 0.5703 GB, free: 6.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.528, allocations: 25.7 kB / 0.5703 GB, free: 6.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.5281, allocations: 98.52 kB / 0.5704 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.5281, allocations: 27.11 kB / 0.5704 GB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.5281, allocations: 7.25 kB / 0.5704 GB, free: 6.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5283, allocations: 322.1 kB / 0.5707 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.5286, allocations: 94.61 kB / 0.5708 GB, free: 6.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.5288, allocations: 106.8 kB / 0.5709 GB, free: 5.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.5291, allocations: 98.62 kB / 0.571 GB, free: 5.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5291, allocations: 4 kB / 0.571 GB, free: 5.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006193/0.5298, allocations: 229.6 kB / 0.5712 GB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5298, allocations: 8 kB / 0.5712 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5298, allocations: 0 / 0.5712 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5298, allocations: 4 kB / 0.5712 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.5301, allocations: 47.89 kB / 0.5713 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5301, allocations: 0 / 0.5713 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.5303, allocations: 47.77 kB / 0.5713 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5303, allocations: 0 / 0.5713 GB, free: 5.551 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 0.0001138/0.5305, allocations: 125.1 kB / 0.5715 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.5305, allocations: 11.86 kB / 0.5715 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/0.5313, allocations: 257.1 kB / 0.5717 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5314, allocations: 4 kB / 0.5717 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5314, allocations: 4 kB / 0.5717 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5314, allocations: 0 / 0.5717 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5325, allocations: 0.5364 MB / 0.5722 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5326, allocations: 0 / 0.5722 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.5328, allocations: 40.47 kB / 0.5723 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5328, allocations: 4 kB / 0.5723 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5328, allocations: 5.297 kB / 0.5723 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5328, allocations: 7.938 kB / 0.5723 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5328, allocations: 0 / 0.5723 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.5337, allocations: 335.2 kB / 0.5726 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.5338, allocations: 92.78 kB / 0.5727 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.5338, allocations: 11.92 kB / 0.5727 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.534, allocations: 31.97 kB / 0.5727 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.5341, allocations: 15.59 kB / 0.5728 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5341, allocations: 4 kB / 0.5728 GB, free: 4.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.233e-05/0.5342, allocations: 118.8 kB / 0.5729 GB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5342, allocations: 0 / 0.5729 GB, free: 3.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.5345, allocations: 38.31 kB / 0.5729 GB, free: 3.965 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.00193/0.5364, allocations: 1.22 MB / 0.5741 GB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.5371, allocations: 198.2 kB / 0.5743 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5371, allocations: 4 kB / 0.5743 GB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.5374, allocations: 106.8 kB / 0.5744 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.5377, allocations: 23.23 kB / 0.5744 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.5395, allocations: 0.8905 MB / 0.5753 GB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.5398, allocations: 0.7083 MB / 0.576 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.5399, allocations: 24.7 kB / 0.576 GB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.54, allocations: 33.95 kB / 0.576 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.54, allocations: 0 / 0.576 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.5536, allocations: 3.069 MB / 0.579 GB, free: 13.85 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.5538, allocations: 225.3 kB / 0.5792 GB, free: 13.61 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_CombiTable2Dv_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test18_usertab_functions.o] Error 1