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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 184.4 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.45/1.45, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009238/0.0009236, allocations: 98.84 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.2104/0.2104, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4801, allocations: 86.49 MB / 0.5633 GB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4803, allocations: 76.2 kB / 0.5634 GB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.4909, allocations: 3.768 MB / 0.5671 GB, free: 9.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4909, allocations: 0 / 0.5671 GB, free: 9.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.491, allocations: 0 / 0.5671 GB, free: 9.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004994/0.4915, allocations: 391.6 kB / 0.5674 GB, free: 9.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4915, allocations: 8.031 kB / 0.5675 GB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.4916, allocations: 37.88 kB / 0.5675 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.4916, allocations: 4 kB / 0.5675 GB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4919, allocations: 198.6 kB / 0.5677 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4919, allocations: 0 / 0.5677 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.4919, allocations: 11.75 kB / 0.5677 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.4921, allocations: 70.58 kB / 0.5678 GB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4921, allocations: 7.938 kB / 0.5678 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4921, allocations: 7.922 kB / 0.5678 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4922, allocations: 0 / 0.5678 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4923, allocations: 35.48 kB / 0.5678 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.4927, allocations: 294.8 kB / 0.5681 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4928, allocations: 61.3 kB / 0.5681 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.4929, allocations: 4 kB / 0.5682 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.4929, allocations: 33.69 kB / 0.5682 GB, free: 8.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4929, allocations: 0 / 0.5682 GB, free: 8.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006489/0.4936, allocations: 190.7 kB / 0.5684 GB, free: 8.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4936, allocations: 81.06 kB / 0.5684 GB, free: 8.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4938, allocations: 132.5 kB / 0.5686 GB, free: 8.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4938, allocations: 25.7 kB / 0.5686 GB, free: 8.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.4939, allocations: 94.8 kB / 0.5687 GB, free: 8.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.4939, allocations: 27.08 kB / 0.5687 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.4939, allocations: 0 / 0.5687 GB, free: 8.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4941, allocations: 318.3 kB / 0.569 GB, free: 7.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.4942, allocations: 27.53 kB / 0.569 GB, free: 7.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.4942, allocations: 44.83 kB / 0.5691 GB, free: 7.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.4943, allocations: 26.86 kB / 0.5691 GB, free: 7.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4943, allocations: 0 / 0.5691 GB, free: 7.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002191/0.4946, allocations: 108.4 kB / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4946, allocations: 6.656 kB / 0.5692 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4946, allocations: 0 / 0.5692 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4946, allocations: 0 / 0.5692 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4947, allocations: 19.98 kB / 0.5692 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4948, allocations: 320 / 0.5692 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4948, allocations: 15.39 kB / 0.5693 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.4948, allocations: 4 kB / 0.5693 GB, free: 7.582 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 (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 0.0001038/0.4949, allocations: 121.5 kB / 0.5694 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.495, allocations: 7.906 kB / 0.5694 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.4953, allocations: 128 kB / 0.5695 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4953, allocations: 4 kB / 0.5695 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4953, allocations: 3.938 kB / 0.5695 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4953, allocations: 0 / 0.5695 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.4958, allocations: 381.6 kB / 0.5699 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4958, allocations: 0 / 0.5699 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.4959, allocations: 27.92 kB / 0.5699 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4959, allocations: 0 / 0.5699 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4959, allocations: 0 / 0.5699 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4959, allocations: 384 / 0.5699 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4959, allocations: 3.953 kB / 0.5699 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4962, allocations: 201.9 kB / 0.5701 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4963, allocations: 92.64 kB / 0.5702 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4963, allocations: 4 kB / 0.5702 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.4964, allocations: 11.98 kB / 0.5702 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.4964, allocations: 3.062 kB / 0.5702 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4964, allocations: 11.94 kB / 0.5702 GB, free: 6.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.223e-05/0.4965, allocations: 106.8 kB / 0.5703 GB, free: 6.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4965, allocations: 4 kB / 0.5703 GB, free: 6.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.4968, allocations: 23.88 kB / 0.5703 GB, free: 6.449 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 (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.00152/0.4983, allocations: 1.084 MB / 0.5714 GB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.4986, allocations: 70.16 kB / 0.5715 GB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4986, allocations: 0 / 0.5715 GB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4987, allocations: 39.09 kB / 0.5715 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.4989, allocations: 15.22 kB / 0.5715 GB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5, allocations: 0.583 MB / 0.5721 GB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5003, allocations: 0.6926 MB / 0.5728 GB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.003e-05/0.5004, allocations: 24.42 kB / 0.5728 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.5005, allocations: 25.67 kB / 0.5728 GB, free: 3.969 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5005, allocations: 0 / 0.5728 GB, free: 3.969 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.514, allocations: 2.462 MB / 0.5752 GB, free: 1.523 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.5143, allocations: 228.8 kB / 0.5754 GB, free: 1.281 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_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: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_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: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_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