Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01246/0.01246, allocations: 165.3 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.795/1.795, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002002/0.002001, allocations: 103.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4417/0.4417, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 48.72 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.5001, allocations: 75.96 MB / 487.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5004, allocations: 70.45 kB / 487.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.515, allocations: 3.887 MB / 491.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.515, allocations: 0 / 491.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5151, allocations: 0 / 491.6 MB, free: 8.391 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004281/0.5155, allocations: 431.4 kB / 492 MB, free: 7.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5156, allocations: 8.031 kB / 492 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.5156, allocations: 36.25 kB / 492.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.5157, allocations: 7.906 kB / 492.1 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.5159, allocations: 198 kB / 492.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5159, allocations: 3.875 kB / 492.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.5159, allocations: 4 kB / 492.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5161, allocations: 62.95 kB / 492.3 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5161, allocations: 0 / 492.3 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5161, allocations: 3.984 kB / 492.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5161, allocations: 4 kB / 492.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.5162, allocations: 20.95 kB / 492.4 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.5166, allocations: 292.6 kB / 492.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.5167, allocations: 38.31 kB / 492.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.5167, allocations: 0 / 492.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.5168, allocations: 67.05 kB / 492.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.424e-06/0.5169, allocations: 0 / 492.8 MB, free: 7.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004646/0.5173, allocations: 132.6 kB / 492.9 MB, free: 7.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5174, allocations: 80.98 kB / 493 MB, free: 6.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.5175, allocations: 132.4 kB / 493.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5175, allocations: 27.11 kB / 493.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.5176, allocations: 94.62 kB / 493.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.5176, allocations: 18.06 kB / 493.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.5177, allocations: 3.312 kB / 493.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.5177, allocations: 322.8 kB / 493.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/0.5178, allocations: 23.86 kB / 493.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.5179, allocations: 39.89 kB / 493.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.283e-05/0.518, allocations: 53.11 kB / 493.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.518, allocations: 0 / 493.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002284/0.5182, allocations: 129.5 kB / 493.8 MB, free: 6.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5183, allocations: 33.7 kB / 493.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5183, allocations: 0 / 493.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5183, allocations: 32 / 493.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.5184, allocations: 12 kB / 493.8 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5184, allocations: 3.984 kB / 493.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.5185, allocations: 7.188 kB / 493.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5185, allocations: 7.953 kB / 493.9 MB, free: 6.039 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 8.091e-05/0.5186, allocations: 114 kB / 494 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5186, allocations: 7.906 kB / 494 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.5189, allocations: 106.9 kB / 494.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5189, allocations: 4 kB / 494.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5189, allocations: 0 / 494.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5189, allocations: 0 / 494.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.5193, allocations: 355.5 kB / 494.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5193, allocations: 0 / 494.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.5194, allocations: 15.92 kB / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5194, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.5194, allocations: 7.812 kB / 494.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5194, allocations: 0 / 494.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5194, allocations: 0 / 494.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.5196, allocations: 185.6 kB / 494.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.5197, allocations: 77.11 kB / 494.7 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.5197, allocations: 4 kB / 494.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.5198, allocations: 7.875 kB / 494.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.5199, allocations: 7.984 kB / 494.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5199, allocations: 448 / 494.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.52, allocations: 113 kB / 494.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.52, allocations: 4 kB / 494.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5203, allocations: 47.25 kB / 494.9 MB, free: 4.988 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001421/0.5218, allocations: 1.042 MB / 495.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.522, allocations: 120 kB / 496.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.522, allocations: 4 kB / 496.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.5221, allocations: 23.25 kB / 496.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.5224, allocations: 22.36 kB / 496.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.5231, allocations: 419 kB / 496.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.5232, allocations: 0.7023 MB / 497.2 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.799e-05/0.5233, allocations: 16.19 kB / 497.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.5234, allocations: 26.23 kB / 497.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5234, allocations: 0 / 497.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.5475, allocations: 2.889 MB / 0.4884 GB, free: 15.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/0.5479, allocations: 226.8 kB / 0.4886 GB, free: 15.57 MB / 346.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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_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 -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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_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_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1