Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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.0009985/0.0009986, allocations: 183.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.398/1.398, 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.0008588/0.0008589, 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.2064/0.2064, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004143, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1222, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3754/0.4977, allocations: 86.59 MB / 0.5634 GB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.498, allocations: 79.33 kB / 0.5635 GB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009889/0.5079, allocations: 3.589 MB / 0.567 GB, free: 9.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5079, allocations: 0 / 0.567 GB, free: 9.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.5079, allocations: 0 / 0.567 GB, free: 9.984 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004511/0.5084, allocations: 394.6 kB / 0.5674 GB, free: 9.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5084, allocations: 8.031 kB / 0.5674 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.5085, allocations: 34.06 kB / 0.5674 GB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.5085, allocations: 7.906 kB / 0.5674 GB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.5088, allocations: 194.5 kB / 0.5676 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.5088, allocations: 0 / 0.5676 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5088, allocations: 7.484 kB / 0.5676 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.509, allocations: 70.09 kB / 0.5677 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.509, allocations: 4 kB / 0.5677 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5091, allocations: 0 / 0.5677 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5091, allocations: 0 / 0.5677 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.5092, allocations: 34.97 kB / 0.5677 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.5096, allocations: 294.3 kB / 0.568 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.288e-05/0.5097, allocations: 42.19 kB / 0.568 GB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.5098, allocations: 3.984 kB / 0.568 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.5098, allocations: 33.94 kB / 0.5681 GB, free: 8.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5098, allocations: 0 / 0.5681 GB, free: 8.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006385/0.5104, allocations: 178.2 kB / 0.5682 GB, free: 8.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.5105, allocations: 81.06 kB / 0.5683 GB, free: 8.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.5107, allocations: 122.1 kB / 0.5684 GB, free: 8.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5107, allocations: 33.2 kB / 0.5685 GB, free: 8.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.5107, allocations: 87.45 kB / 0.5686 GB, free: 8.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.5108, allocations: 26.89 kB / 0.5686 GB, free: 8.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5108, allocations: 3.938 kB / 0.5686 GB, free: 8.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5109, allocations: 314.3 kB / 0.5689 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.511, allocations: 30.72 kB / 0.5689 GB, free: 7.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.5111, allocations: 45.2 kB / 0.569 GB, free: 7.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.5112, allocations: 27.05 kB / 0.569 GB, free: 7.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5112, allocations: 4 kB / 0.569 GB, free: 7.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002108/0.5114, allocations: 99.53 kB / 0.5691 GB, free: 7.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5114, allocations: 8 kB / 0.5691 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5115, allocations: 0 / 0.5691 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5115, allocations: 0 / 0.5691 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5116, allocations: 15.98 kB / 0.5691 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5116, allocations: 256 / 0.5691 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.5117, allocations: 11.95 kB / 0.5691 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.5117, allocations: 4 kB / 0.5691 GB, free: 7.699 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 (6): * Single equations (assignments): 6 * 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.0001005/0.5118, allocations: 132.8 kB / 0.5692 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.5119, allocations: 4 kB / 0.5692 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.5121, allocations: 110.2 kB / 0.5694 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5121, allocations: 0 / 0.5694 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5122, allocations: 4 kB / 0.5694 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5122, allocations: 4 kB / 0.5694 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.5126, allocations: 365.8 kB / 0.5697 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5126, allocations: 0 / 0.5697 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.5127, allocations: 23.98 kB / 0.5697 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5127, allocations: 0 / 0.5697 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5127, allocations: 0 / 0.5697 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5127, allocations: 0 / 0.5697 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5127, allocations: 7.891 kB / 0.5697 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.513, allocations: 205 kB / 0.5699 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.513, allocations: 89 kB / 0.57 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5131, allocations: 0 / 0.57 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.5131, allocations: 15.05 kB / 0.57 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.5132, allocations: 0 / 0.57 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.5132, allocations: 7.953 kB / 0.57 GB, free: 6.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.5133, allocations: 101.6 kB / 0.5701 GB, free: 6.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5133, allocations: 0 / 0.5701 GB, free: 6.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.5136, allocations: 39.61 kB / 0.5702 GB, free: 6.594 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 (6): * Single equations (assignments): 6 * 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.001465/0.515, allocations: 1.076 MB / 0.5712 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5153, allocations: 69.52 kB / 0.5713 GB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5153, allocations: 4 kB / 0.5713 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.5154, allocations: 34.92 kB / 0.5713 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.5156, allocations: 18.97 kB / 0.5713 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5167, allocations: 0.5557 MB / 0.5719 GB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5171, allocations: 0.697 MB / 0.5726 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.5172, allocations: 11.98 kB / 0.5726 GB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.5172, allocations: 23.11 kB / 0.5726 GB, free: 4.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5172, allocations: 0 / 0.5726 GB, free: 4.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.5331, allocations: 2.402 MB / 0.575 GB, free: 1.773 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004412/0.5336, allocations: 231.5 kB / 0.5752 GB, free: 1.527 MB / 378.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_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertab_functions.o] Error 1