Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001238, allocations: 96.91 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.001511, allocations: 175.5 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3534/0.3534, allocations: 43.55 MB / 314.5 MB, free: 8.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 22.97 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09699, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001431/0.09844, allocations: 1.276 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004545/0.09891, allocations: 295.8 kB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.09895, allocations: 0 / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.09908, allocations: 23.91 kB / 444.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.09919, allocations: 31.84 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.09936, allocations: 63.86 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.09945, allocations: 39.89 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/0.09951, allocations: 8.453 kB / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.09955, allocations: 23.91 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.09959, allocations: 19.92 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.09961, allocations: 0 / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.09969, allocations: 39.84 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.09972, allocations: 8 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.09975, allocations: 37.64 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.09986, allocations: 71.83 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-06/0.09987, allocations: 0 / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09987, allocations: 0 / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.444e-06/0.09988, allocations: 0 / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003293/0.1002, allocations: 387 kB / 445.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.1002, allocations: 8.031 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.1003, allocations: 38.56 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.1003, allocations: 11.86 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1005, allocations: 187 kB / 445.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-06/0.1005, allocations: 0 / 445.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1005, allocations: 11.94 kB / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1006, allocations: 67.39 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.1007, allocations: 4 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.1007, allocations: 0 / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-06/0.1007, allocations: 0 / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-05/0.1008, allocations: 47.92 kB / 445.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.1011, allocations: 296.8 kB / 445.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1012, allocations: 58.55 kB / 445.9 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1012, allocations: 4 kB / 445.9 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1013, allocations: 34.56 kB / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1013, allocations: 0 / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004838/0.1018, allocations: 189.3 kB / 446.1 MB, free: 9.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1018, allocations: 85.09 kB / 446.2 MB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1019, allocations: 137.5 kB / 446.3 MB, free: 9.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.102, allocations: 25.7 kB / 446.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.102, allocations: 92.14 kB / 446.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.102, allocations: 27.64 kB / 446.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.102, allocations: 3.938 kB / 446.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.1021, allocations: 318.8 kB / 446.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.1022, allocations: 27.97 kB / 446.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.1023, allocations: 45.64 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.1024, allocations: 32.02 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1024, allocations: 0 / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001909/0.1026, allocations: 105.8 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1026, allocations: 8 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.1027, allocations: 3.953 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.1027, allocations: 0 / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.1028, allocations: 19.98 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1028, allocations: 4 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.1028, allocations: 11.98 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1028, allocations: 4 kB / 447 MB, free: 8.777 MB / 382.1 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 (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 prepare postOptimizeDAE: time 6.791e-05/0.1029, allocations: 121.8 kB / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1029, allocations: 11.89 kB / 447.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.1032, allocations: 117.9 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1032, allocations: 7.938 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1032, allocations: 0 / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1032, allocations: 3.938 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.1036, allocations: 378.5 kB / 447.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1036, allocations: 3.984 kB / 447.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.1037, allocations: 12 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1037, allocations: 3.953 kB / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1037, allocations: 4 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1037, allocations: 3.984 kB / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1037, allocations: 384 / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.104, allocations: 199.4 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.104, allocations: 85 kB / 447.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.104, allocations: 11.95 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.1041, allocations: 15.98 kB / 448 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.1041, allocations: 4 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1042, allocations: 0 / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.1042, allocations: 111.2 kB / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.272e-06/0.1042, allocations: 0 / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1045, allocations: 27.94 kB / 448.1 MB, free: 7.574 MB / 382.1 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 (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.001175/0.1057, allocations: 1.076 MB / 449.2 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1059, allocations: 71.89 kB / 449.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1059, allocations: 0 / 449.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.1059, allocations: 31.98 kB / 449.3 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.1061, allocations: 23.94 kB / 449.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.107, allocations: 0.5603 MB / 449.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1072, allocations: 0.6926 MB / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.574e-05/0.1073, allocations: 12.45 kB / 450.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1073, allocations: 31.42 kB / 450.6 MB, free: 5.012 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.1073, allocations: 0 / 450.6 MB, free: 5.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/0.3976, allocations: 2.473 MB / 453.1 MB, free: 2.543 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.3979, allocations: 228.1 kB / 453.3 MB, free: 2.301 MB / 382.1 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_CombiTable1Ds_Test25_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertab_functions.o] Error 1