Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_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.001405/0.001405, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008847/0.0008847, allocations: 98.36 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4845/0.4845, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.000305, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4776, allocations: 63.24 MB / 0.5193 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.6183, allocations: 90.78 MB / 0.6079 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.6186, allocations: 79.94 kB / 0.608 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.6384, allocations: 6.587 MB / 0.6144 GB, free: 8.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6384, allocations: 0 / 0.6144 GB, free: 8.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.6384, allocations: 4 kB / 0.6144 GB, free: 8.195 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.0007905/0.6392, allocations: 442.8 kB / 0.6149 GB, free: 7.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.6393, allocations: 12.03 kB / 0.6149 GB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.6394, allocations: 34.56 kB / 0.6149 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.6395, allocations: 11.86 kB / 0.6149 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.6398, allocations: 211.9 kB / 0.6151 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.6399, allocations: 4 kB / 0.6151 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.6399, allocations: 4 kB / 0.6151 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.6401, allocations: 75.33 kB / 0.6152 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.6401, allocations: 0 / 0.6152 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6401, allocations: 4 kB / 0.6152 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6402, allocations: 0 / 0.6152 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.6402, allocations: 27.88 kB / 0.6152 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.6407, allocations: 280.9 kB / 0.6155 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.6409, allocations: 70.55 kB / 0.6156 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.6409, allocations: 4 kB / 0.6156 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.6411, allocations: 75.42 kB / 0.6156 GB, free: 6.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.6411, allocations: 0 / 0.6156 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006533/0.6418, allocations: 209.1 kB / 0.6158 GB, free: 6.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.6418, allocations: 81.11 kB / 0.6159 GB, free: 6.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.642, allocations: 165 kB / 0.6161 GB, free: 6.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6421, allocations: 25.7 kB / 0.6161 GB, free: 6.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.6421, allocations: 108.2 kB / 0.6162 GB, free: 6.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.6422, allocations: 23.66 kB / 0.6162 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.6422, allocations: 0 / 0.6162 GB, free: 6.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6423, allocations: 322.8 kB / 0.6165 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.6424, allocations: 35.97 kB / 0.6166 GB, free: 5.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.6425, allocations: 50.56 kB / 0.6166 GB, free: 5.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.6426, allocations: 36.02 kB / 0.6167 GB, free: 5.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6426, allocations: 0 / 0.6167 GB, free: 5.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002273/0.6428, allocations: 127.1 kB / 0.6168 GB, free: 5.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6428, allocations: 8.094 kB / 0.6168 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.6428, allocations: 3.938 kB / 0.6168 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.6429, allocations: 3.953 kB / 0.6168 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.643, allocations: 23.98 kB / 0.6168 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.643, allocations: 0 / 0.6168 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.6431, allocations: 8 kB / 0.6168 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.6431, allocations: 4.031 kB / 0.6168 GB, free: 5.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001006/0.6432, allocations: 128.9 kB / 0.6169 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.6432, allocations: 11.91 kB / 0.617 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.6435, allocations: 130.4 kB / 0.6171 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6435, allocations: 3.938 kB / 0.6171 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6435, allocations: 7.953 kB / 0.6171 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.6435, allocations: 0 / 0.6171 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.6441, allocations: 443.1 kB / 0.6175 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.6441, allocations: 0 / 0.6175 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.6441, allocations: 15.95 kB / 0.6175 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6441, allocations: 0 / 0.6175 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6441, allocations: 4 kB / 0.6175 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6442, allocations: 3.984 kB / 0.6175 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.6442, allocations: 0 / 0.6175 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.6444, allocations: 237.9 kB / 0.6178 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.6445, allocations: 92.91 kB / 0.6179 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.6445, allocations: 4 kB / 0.6179 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.6446, allocations: 7.984 kB / 0.6179 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.6447, allocations: 4 kB / 0.6179 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.6447, allocations: 19.98 kB / 0.6179 GB, free: 4.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.6448, allocations: 135 kB / 0.618 GB, free: 4.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6448, allocations: 0 / 0.618 GB, free: 4.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.6452, allocations: 63.92 kB / 0.6181 GB, free: 4.113 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001891/0.6471, allocations: 1.304 MB / 0.6194 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.6473, allocations: 79.91 kB / 0.6194 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6473, allocations: 64 / 0.6194 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.6474, allocations: 43.92 kB / 0.6195 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.6477, allocations: 29.39 kB / 0.6195 GB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.6485, allocations: 0.6478 MB / 0.6201 GB, free: 2.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.6488, allocations: 0.7082 MB / 0.6208 GB, free: 1.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.6489, allocations: 24.62 kB / 0.6208 GB, free: 1.395 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.6489, allocations: 43.36 kB / 0.6209 GB, free: 1.352 MB / 426.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6489, allocations: 0 / 0.6209 GB, free: 1.352 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.6636, allocations: 3.744 MB / 0.6245 GB, free: 13.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.6638, allocations: 223.2 kB / 0.6248 GB, free: 13.51 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_CombiTimeTable_Test66_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.o] Error 1