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.001394/0.001394, allocations: 183 kB / 13.19 MB, free: 2.129 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.867/1.867, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0009471/0.0009471, allocations: 95.78 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5067/0.5067, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.704e-05/5.715e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1587, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.6383, allocations: 86.51 MB / 0.5574 GB, free: 2.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.6386, allocations: 75.95 kB / 0.5575 GB, free: 2.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009126/0.6478, allocations: 3.583 MB / 0.561 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6478, allocations: 0 / 0.561 GB, free: 14.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.6478, allocations: 4 kB / 0.561 GB, free: 14.79 MB / 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.0005067/0.6484, allocations: 377.3 kB / 0.5613 GB, free: 14.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.6484, allocations: 12.02 kB / 0.5613 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.6485, allocations: 34.56 kB / 0.5614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.6485, allocations: 11.34 kB / 0.5614 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.6488, allocations: 187.6 kB / 0.5616 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.6488, allocations: 0 / 0.5616 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.6489, allocations: 8 kB / 0.5616 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.649, allocations: 64.22 kB / 0.5616 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6491, allocations: 0 / 0.5616 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6491, allocations: 0 / 0.5616 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6491, allocations: 1.375 kB / 0.5616 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.6492, allocations: 23.92 kB / 0.5616 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.6496, allocations: 285.5 kB / 0.5619 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.6497, allocations: 38.56 kB / 0.562 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.6498, allocations: 20.86 kB / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6498, allocations: 0 / 0.562 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6499, allocations: 30.56 kB / 0.562 GB, free: 13.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.6499, allocations: 0.7656 kB / 0.562 GB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000452/0.6503, allocations: 121.3 kB / 0.5621 GB, free: 13.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.6504, allocations: 93.05 kB / 0.5622 GB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.6505, allocations: 118.1 kB / 0.5623 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.6506, allocations: 29.69 kB / 0.5624 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.6506, allocations: 92.14 kB / 0.5624 GB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.6506, allocations: 11.72 kB / 0.5625 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.6507, allocations: 11.61 kB / 0.5625 GB, free: 13.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6508, allocations: 314.8 kB / 0.5628 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.6508, allocations: 15.94 kB / 0.5628 GB, free: 12.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-05/0.6509, allocations: 41.64 kB / 0.5628 GB, free: 12.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.6509, allocations: 12 kB / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6509, allocations: 0 / 0.5628 GB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001114/0.6511, allocations: 73.67 kB / 0.5629 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6511, allocations: 4 kB / 0.5629 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6511, allocations: 0 / 0.5629 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.6511, allocations: 2.812 kB / 0.5629 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.6512, allocations: 12 kB / 0.5629 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6513, allocations: 4.031 kB / 0.5629 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.6513, allocations: 27.72 kB / 0.5629 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.6513, allocations: 0 / 0.5629 GB, free: 12.54 MB / 394.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 (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 8.387e-05/0.6514, allocations: 109 kB / 0.5631 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.6515, allocations: 4 kB / 0.5631 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.6516, allocations: 82.2 kB / 0.5631 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6517, allocations: 8.125 kB / 0.5631 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6517, allocations: 7.984 kB / 0.5631 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6517, allocations: 0 / 0.5631 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.6521, allocations: 346.5 kB / 0.5635 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6521, allocations: 0 / 0.5635 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.6522, allocations: 23.98 kB / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6522, allocations: 0 / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6522, allocations: 0.75 kB / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6522, allocations: 0 / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6522, allocations: 3.953 kB / 0.5635 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.6524, allocations: 171.8 kB / 0.5637 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.6524, allocations: 89.09 kB / 0.5638 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.6525, allocations: 64 / 0.5638 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.6526, allocations: 8 kB / 0.5638 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.6526, allocations: 11.94 kB / 0.5638 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6526, allocations: 4 kB / 0.5638 GB, free: 11.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.6527, allocations: 113.3 kB / 0.5639 GB, free: 11.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6527, allocations: 4 kB / 0.5639 GB, free: 11.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.653, allocations: 28 kB / 0.5639 GB, free: 11.45 MB / 394.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 (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.001343/0.6543, allocations: 1.007 MB / 0.5649 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.6545, allocations: 32 kB / 0.5649 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6545, allocations: 0 / 0.5649 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.6545, allocations: 27.92 kB / 0.565 GB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.6548, allocations: 13 kB / 0.565 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.6552, allocations: 170.9 kB / 0.5651 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.6555, allocations: 0.6965 MB / 0.5658 GB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.638e-05/0.6556, allocations: 23.95 kB / 0.5658 GB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.6557, allocations: 19.44 kB / 0.5659 GB, free: 9.453 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6557, allocations: 0 / 0.5659 GB, free: 9.453 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.6688, allocations: 2.394 MB / 0.5682 GB, free: 7.086 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.6691, allocations: 201.5 kB / 0.5684 GB, free: 6.855 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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 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: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 -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 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: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_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