Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001009/0.001009, allocations: 196.5 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.283/1.283, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008788/0.0008788, allocations: 85.38 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.179/0.179, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.916e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09628, allocations: 63.25 MB / 0.5115 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4863, allocations: 89.41 MB / 0.5988 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4866, allocations: 69.59 kB / 0.5988 GB, free: 4.445 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0129/0.4995, allocations: 4.956 MB / 0.6037 GB, free: 292 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4995, allocations: 0 / 0.6037 GB, free: 292 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4996, allocations: 4 kB / 0.6037 GB, free: 288 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005251/0.5001, allocations: 395 kB / 0.6041 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/0.5002, allocations: 11.97 kB / 0.6041 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.5003, allocations: 38.55 kB / 0.6041 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.5003, allocations: 7.906 kB / 0.6041 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.5007, allocations: 203.8 kB / 0.6043 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5007, allocations: 0 / 0.6043 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5007, allocations: 4 kB / 0.6043 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5009, allocations: 65.66 kB / 0.6044 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5009, allocations: 0 / 0.6044 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5009, allocations: 4 kB / 0.6044 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.5009, allocations: 0 / 0.6044 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.038e-05/0.501, allocations: 19.55 kB / 0.6044 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.5015, allocations: 301.5 kB / 0.6047 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.5016, allocations: 57.81 kB / 0.6047 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.5017, allocations: 23.67 kB / 0.6048 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.5017, allocations: 3.984 kB / 0.6048 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5018, allocations: 34.56 kB / 0.6048 GB, free: 15.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.5018, allocations: 0 / 0.6048 GB, free: 15.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00045/0.5022, allocations: 137.7 kB / 0.6049 GB, free: 14.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.5023, allocations: 88.06 kB / 0.605 GB, free: 14.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.5024, allocations: 144.9 kB / 0.6052 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.5025, allocations: 25.7 kB / 0.6052 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.5025, allocations: 98.19 kB / 0.6053 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.5026, allocations: 27.12 kB / 0.6053 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.5026, allocations: 0 / 0.6053 GB, free: 14.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5027, allocations: 322.8 kB / 0.6056 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.5027, allocations: 18.75 kB / 0.6056 GB, free: 14.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.5028, allocations: 37.2 kB / 0.6057 GB, free: 14.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.5028, allocations: 30.39 kB / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5028, allocations: 0 / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001325/0.503, allocations: 87.53 kB / 0.6058 GB, free: 14.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.503, allocations: 8 kB / 0.6058 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.503, allocations: 0 / 0.6058 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.503, allocations: 3.953 kB / 0.6058 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5032, allocations: 23.17 kB / 0.6058 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5032, allocations: 3.938 kB / 0.6058 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.5032, allocations: 15.98 kB / 0.6058 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.5033, allocations: 0 / 0.6058 GB, free: 14.01 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 (9): * Single equations (assignments): 9 * 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 6.697e-05/0.5033, allocations: 108.5 kB / 0.6059 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.5034, allocations: 7.906 kB / 0.6059 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.5036, allocations: 111.7 kB / 0.606 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.5036, allocations: 4.281 kB / 0.606 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5036, allocations: 3.953 kB / 0.606 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5036, allocations: 0 / 0.606 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.504, allocations: 381.7 kB / 0.6064 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.504, allocations: 0 / 0.6064 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.5041, allocations: 23.97 kB / 0.6064 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5041, allocations: 3.953 kB / 0.6064 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5041, allocations: 3.125 kB / 0.6064 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5041, allocations: 0 / 0.6064 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5041, allocations: 0 / 0.6064 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.5043, allocations: 188.4 kB / 0.6066 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.5043, allocations: 92 kB / 0.6067 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.5043, allocations: 7.078 kB / 0.6067 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.5044, allocations: 4 kB / 0.6067 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.5045, allocations: 8.172 kB / 0.6067 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.5045, allocations: 8 kB / 0.6067 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.5046, allocations: 114 kB / 0.6068 GB, free: 12.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5046, allocations: 4 kB / 0.6068 GB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.5049, allocations: 62.98 kB / 0.6069 GB, free: 12.9 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 (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.001259/0.5061, allocations: 1.062 MB / 0.6079 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.5063, allocations: 55.05 kB / 0.608 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5063, allocations: 7.938 kB / 0.608 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.5063, allocations: 26.12 kB / 0.608 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.5065, allocations: 13.94 kB / 0.608 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.507, allocations: 203.3 kB / 0.6082 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5073, allocations: 0.7004 MB / 0.6089 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.5073, allocations: 28.8 kB / 0.6089 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.5074, allocations: 35.47 kB / 0.609 GB, free: 10.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5074, allocations: 3.938 kB / 0.609 GB, free: 10.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.521, allocations: 3.042 MB / 0.612 GB, free: 7.961 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.5212, allocations: 202.4 kB / 0.6121 GB, free: 7.734 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_CombiTable1Ds_Test25_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertab_functions.o] Error 1