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.001695/0.001695, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001388, allocations: 98.19 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3945/0.3945, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.000279, allocations: 15.98 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4055, allocations: 63.25 MB / 0.5193 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.542, allocations: 89.47 MB / 0.6066 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5422, allocations: 83.92 kB / 0.6067 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.5559, allocations: 4.974 MB / 0.6116 GB, free: 8.895 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5559, allocations: 0 / 0.6116 GB, free: 8.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5559, allocations: 8 kB / 0.6116 GB, free: 8.887 MB / 426.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.0005035/0.5564, allocations: 403.7 kB / 0.612 GB, free: 8.445 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5565, allocations: 8.031 kB / 0.612 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.5566, allocations: 38.56 kB / 0.612 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.5566, allocations: 3.906 kB / 0.612 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.5569, allocations: 213.4 kB / 0.6122 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5569, allocations: 4 kB / 0.6122 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.5569, allocations: 0 / 0.6122 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5571, allocations: 67.39 kB / 0.6123 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5571, allocations: 4 kB / 0.6123 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5572, allocations: 0 / 0.6123 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5572, allocations: 0 / 0.6123 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.5573, allocations: 39.97 kB / 0.6123 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.5578, allocations: 296.8 kB / 0.6126 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.5579, allocations: 54.56 kB / 0.6127 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.558, allocations: 0 / 0.6127 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.558, allocations: 46.48 kB / 0.6127 GB, free: 7.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.558, allocations: 0 / 0.6127 GB, free: 7.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006773/0.5587, allocations: 205.2 kB / 0.6129 GB, free: 7.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.5588, allocations: 85.06 kB / 0.613 GB, free: 7.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.5589, allocations: 139.5 kB / 0.6131 GB, free: 7.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.5589, allocations: 25.7 kB / 0.6132 GB, free: 7.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.559, allocations: 96.14 kB / 0.6132 GB, free: 6.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.559, allocations: 23.62 kB / 0.6133 GB, free: 6.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5591, allocations: 8 kB / 0.6133 GB, free: 6.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5592, allocations: 322.8 kB / 0.6136 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.5593, allocations: 31.98 kB / 0.6136 GB, free: 6.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.5594, allocations: 53.62 kB / 0.6137 GB, free: 6.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.5595, allocations: 36.02 kB / 0.6137 GB, free: 6.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.5595, allocations: 4 kB / 0.6137 GB, free: 6.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002394/0.5597, allocations: 117.5 kB / 0.6138 GB, free: 6.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5598, allocations: 7.984 kB / 0.6138 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5598, allocations: 3.984 kB / 0.6138 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5598, allocations: 4 kB / 0.6138 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5599, allocations: 28.31 kB / 0.6139 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.56, allocations: 0 / 0.6139 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.56, allocations: 8 kB / 0.6139 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.56, allocations: 8 kB / 0.6139 GB, free: 6.312 MB / 426.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 (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 0.0001076/0.5602, allocations: 122.9 kB / 0.614 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.5602, allocations: 11.81 kB / 0.614 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.5605, allocations: 122.4 kB / 0.6141 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5605, allocations: 0 / 0.6141 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5605, allocations: 3.953 kB / 0.6141 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5605, allocations: 0 / 0.6141 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.561, allocations: 410.4 kB / 0.6145 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.561, allocations: 0 / 0.6145 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.5611, allocations: 16 kB / 0.6145 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5611, allocations: 3.953 kB / 0.6145 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5611, allocations: 7.984 kB / 0.6145 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5611, allocations: 0 / 0.6145 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5611, allocations: 0 / 0.6145 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.5614, allocations: 211.3 kB / 0.6147 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.5615, allocations: 92.92 kB / 0.6148 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.5615, allocations: 7.938 kB / 0.6148 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.5616, allocations: 12 kB / 0.6149 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.5616, allocations: 3.984 kB / 0.6149 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5616, allocations: 4.281 kB / 0.6149 GB, free: 5.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.5617, allocations: 120.8 kB / 0.615 GB, free: 5.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5617, allocations: 0 / 0.615 GB, free: 5.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.562, allocations: 55.92 kB / 0.615 GB, free: 5.027 MB / 426.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 (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.001541/0.5636, allocations: 1.135 MB / 0.6161 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.5638, allocations: 79.95 kB / 0.6162 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5638, allocations: 3.938 kB / 0.6162 GB, free: 3.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.5639, allocations: 43.97 kB / 0.6163 GB, free: 3.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.5641, allocations: 11.94 kB / 0.6163 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.5648, allocations: 468.8 kB / 0.6167 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.5651, allocations: 0.6965 MB / 0.6174 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.879e-05/0.5652, allocations: 28.8 kB / 0.6174 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.5653, allocations: 31.42 kB / 0.6175 GB, free: 2.602 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5653, allocations: 0 / 0.6175 GB, free: 2.602 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.5803, allocations: 3.04 MB / 0.6204 GB, free: 15.68 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.5805, allocations: 233.6 kB / 0.6206 GB, free: 15.43 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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 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: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 -Os -march=native -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 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: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_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