Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001008, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009035/0.0009034, allocations: 89.48 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.603e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09951, allocations: 63.24 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4462, allocations: 89.5 MB / 0.5989 GB, free: 4.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4465, allocations: 76.08 kB / 0.5989 GB, free: 4.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01298/0.4595, allocations: 4.785 MB / 0.6036 GB, free: 288 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4595, allocations: 7.938 kB / 0.6036 GB, free: 280 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4596, allocations: 0 / 0.6036 GB, free: 280 kB / 394.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.0004556/0.46, allocations: 400.1 kB / 0.604 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.4601, allocations: 11.97 kB / 0.604 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.4602, allocations: 37.62 kB / 0.604 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.4602, allocations: 7.906 kB / 0.604 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.4605, allocations: 201.1 kB / 0.6042 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4605, allocations: 0 / 0.6042 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.4606, allocations: 0 / 0.6042 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4607, allocations: 66.72 kB / 0.6043 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4607, allocations: 0 / 0.6043 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.4607, allocations: 0 / 0.6043 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4607, allocations: 4 kB / 0.6043 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.4608, allocations: 15.88 kB / 0.6043 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.4612, allocations: 297.4 kB / 0.6046 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.4613, allocations: 45.98 kB / 0.6046 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.4614, allocations: 24.53 kB / 0.6047 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4614, allocations: 0 / 0.6047 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.4615, allocations: 41.75 kB / 0.6047 GB, free: 15.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4615, allocations: 0 / 0.6047 GB, free: 15.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004476/0.4619, allocations: 142.5 kB / 0.6048 GB, free: 14.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.462, allocations: 81.06 kB / 0.6049 GB, free: 14.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4621, allocations: 134.1 kB / 0.6051 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4621, allocations: 33.64 kB / 0.6051 GB, free: 14.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.4622, allocations: 91.94 kB / 0.6052 GB, free: 14.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.4622, allocations: 19.66 kB / 0.6052 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.4622, allocations: 3.812 kB / 0.6052 GB, free: 14.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4624, allocations: 322.8 kB / 0.6055 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.4624, allocations: 23.73 kB / 0.6055 GB, free: 14.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.4625, allocations: 33.52 kB / 0.6056 GB, free: 14.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.4625, allocations: 26.61 kB / 0.6056 GB, free: 14.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4625, allocations: 0 / 0.6056 GB, free: 14.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001311/0.4627, allocations: 93.3 kB / 0.6057 GB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4627, allocations: 8 kB / 0.6057 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4627, allocations: 0 / 0.6057 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4627, allocations: 144 / 0.6057 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4628, allocations: 20.02 kB / 0.6057 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4628, allocations: 4 kB / 0.6057 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.4629, allocations: 7.953 kB / 0.6057 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.4629, allocations: 7.984 kB / 0.6057 GB, free: 14.02 MB / 410.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 7.533e-05/0.463, allocations: 104 kB / 0.6058 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.463, allocations: 7.906 kB / 0.6058 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.4632, allocations: 102.2 kB / 0.6059 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4632, allocations: 4 kB / 0.6059 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4633, allocations: 4 kB / 0.6059 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.4633, allocations: 0 / 0.6059 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.4637, allocations: 377.9 kB / 0.6063 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4637, allocations: 4 kB / 0.6063 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.4638, allocations: 15.98 kB / 0.6063 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4638, allocations: 0 / 0.6063 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.4638, allocations: 3.938 kB / 0.6063 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4638, allocations: 11.95 kB / 0.6063 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4638, allocations: 0 / 0.6063 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.464, allocations: 181 kB / 0.6065 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.464, allocations: 96.56 kB / 0.6066 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4641, allocations: 0 / 0.6066 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.4641, allocations: 8 kB / 0.6066 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4642, allocations: 15.94 kB / 0.6066 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4642, allocations: 0 / 0.6066 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.337e-05/0.4643, allocations: 118.7 kB / 0.6067 GB, free: 12.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4643, allocations: 0 / 0.6067 GB, free: 12.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.4646, allocations: 46.44 kB / 0.6068 GB, free: 12.95 MB / 410.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 (7): * Single equations (assignments): 7 * 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.001305/0.4659, allocations: 1.073 MB / 0.6078 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.466, allocations: 48.61 kB / 0.6079 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.466, allocations: 0 / 0.6079 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.4661, allocations: 26.56 kB / 0.6079 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.4663, allocations: 19.44 kB / 0.6079 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.4668, allocations: 202.9 kB / 0.6081 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4671, allocations: 0.6965 MB / 0.6088 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.4672, allocations: 28.94 kB / 0.6088 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.4672, allocations: 33.86 kB / 0.6088 GB, free: 10.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4672, allocations: 0 / 0.6088 GB, free: 10.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.4813, allocations: 2.992 MB / 0.6118 GB, free: 8.066 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.4816, allocations: 199.7 kB / 0.612 GB, free: 7.84 MB / 410.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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 trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_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 -Os -march=native -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 trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_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_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.o] Error 1