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.002003/0.002002, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.839/1.839, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008548/0.0008547, allocations: 88.83 kB / 267 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4125/0.4125, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.253e-05, allocations: 7.922 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.5074, allocations: 86.93 MB / 0.5578 GB, free: 16.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.5076, allocations: 75.14 kB / 0.5579 GB, free: 16.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009611/0.5173, allocations: 3.916 MB / 0.5617 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5173, allocations: 0 / 0.5617 GB, free: 14.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.5173, allocations: 0 / 0.5617 GB, free: 14.52 MB / 394.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.0004725/0.5178, allocations: 426.5 kB / 0.5621 GB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5179, allocations: 8.031 kB / 0.5621 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.5179, allocations: 38.5 kB / 0.5622 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.518, allocations: 7.906 kB / 0.5622 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.5182, allocations: 196.9 kB / 0.5623 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5182, allocations: 7.5 kB / 0.5624 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.5182, allocations: 1.375 kB / 0.5624 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5184, allocations: 73.03 kB / 0.5624 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5184, allocations: 4 kB / 0.5624 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5184, allocations: 0 / 0.5624 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5184, allocations: 7.953 kB / 0.5624 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.5185, allocations: 25.12 kB / 0.5625 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.5188, allocations: 293.8 kB / 0.5627 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.519, allocations: 59.61 kB / 0.5628 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.519, allocations: 16.67 kB / 0.5628 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.519, allocations: 1.219 kB / 0.5628 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5191, allocations: 38.52 kB / 0.5629 GB, free: 13.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5191, allocations: 0 / 0.5629 GB, free: 13.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007738/0.5199, allocations: 222.4 kB / 0.5631 GB, free: 13.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5199, allocations: 77.11 kB / 0.5631 GB, free: 13.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.52, allocations: 141.1 kB / 0.5633 GB, free: 12.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5201, allocations: 25.7 kB / 0.5633 GB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.5201, allocations: 94.7 kB / 0.5634 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.5201, allocations: 30.44 kB / 0.5634 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.5201, allocations: 0 / 0.5634 GB, free: 12.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.5202, allocations: 328 kB / 0.5637 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.5203, allocations: 19.81 kB / 0.5637 GB, free: 12.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.5203, allocations: 34.7 kB / 0.5638 GB, free: 12.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.5204, allocations: 25.83 kB / 0.5638 GB, free: 12.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5204, allocations: 5.453 kB / 0.5638 GB, free: 12.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001296/0.5205, allocations: 87.56 kB / 0.5639 GB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5205, allocations: 12.59 kB / 0.5639 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5205, allocations: 320 / 0.5639 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5206, allocations: 1.734 kB / 0.5639 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.5208, allocations: 50.11 kB / 0.564 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5208, allocations: 0 / 0.564 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.521, allocations: 32.34 kB / 0.564 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.521, allocations: 9.578 kB / 0.564 GB, free: 12.27 MB / 394.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 () * 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 5.002e-05/0.521, allocations: 112.9 kB / 0.5641 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.5211, allocations: 11.86 kB / 0.5641 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.5213, allocations: 101 kB / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5213, allocations: 7.984 kB / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.5213, allocations: 0 / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5213, allocations: 0 / 0.5642 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.5216, allocations: 386.8 kB / 0.5646 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5216, allocations: 0 / 0.5646 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.5218, allocations: 50.03 kB / 0.5646 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5218, allocations: 1.875 kB / 0.5646 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5218, allocations: 0 / 0.5646 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5218, allocations: 192 / 0.5646 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5218, allocations: 9.312 kB / 0.5646 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.522, allocations: 195.2 kB / 0.5648 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.522, allocations: 92.11 kB / 0.5649 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.5221, allocations: 0 / 0.5649 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.5222, allocations: 33.56 kB / 0.565 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.5223, allocations: 16.55 kB / 0.565 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.5223, allocations: 0 / 0.565 GB, free: 11.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.194e-05/0.5224, allocations: 117.9 kB / 0.5651 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5224, allocations: 0 / 0.5651 GB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.5226, allocations: 42.77 kB / 0.5651 GB, free: 11.21 MB / 394.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 () * 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.001024/0.5237, allocations: 1.023 MB / 0.5661 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.5238, allocations: 55.62 kB / 0.5662 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5238, allocations: 0 / 0.5662 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.5239, allocations: 36.73 kB / 0.5662 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.5241, allocations: 26.94 kB / 0.5662 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.5245, allocations: 198.5 kB / 0.5664 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.5247, allocations: 0.7019 MB / 0.5671 GB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.084e-05/0.5247, allocations: 21.02 kB / 0.5671 GB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.5248, allocations: 32.48 kB / 0.5672 GB, free: 9.262 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5248, allocations: 0 / 0.5672 GB, free: 9.262 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.5365, allocations: 2.974 MB / 0.5701 GB, free: 6.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/0.5367, allocations: 197.4 kB / 0.5703 GB, free: 6.504 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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