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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009331/0.000933, allocations: 99.25 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 203.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002764, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 63.47 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002273/0.1385, allocations: 1.31 MB / 482.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1395, allocations: 499.2 kB / 483.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.1396, allocations: 0 / 483.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1398, allocations: 15.92 kB / 483.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1401, allocations: 63.75 kB / 483.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1403, allocations: 83.7 kB / 483.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1405, allocations: 43.89 kB / 483.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1406, allocations: 12 kB / 483.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.1407, allocations: 23.91 kB / 483.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.1407, allocations: 23.86 kB / 483.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1407, allocations: 4 kB / 483.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1409, allocations: 67.88 kB / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.1409, allocations: 11.94 kB / 483.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.141, allocations: 33.7 kB / 483.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1412, allocations: 112 kB / 483.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1412, allocations: 0 / 483.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1412, allocations: 3.938 kB / 483.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1412, allocations: 0 / 483.8 MB, free: 2.945 MB / 350.1 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.0005343/0.1418, allocations: 395.1 kB / 484.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1418, allocations: 12.03 kB / 484.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.1419, allocations: 38.55 kB / 484.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.1419, allocations: 7.906 kB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1421, allocations: 186.9 kB / 484.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1422, allocations: 8 kB / 484.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1422, allocations: 0 / 484.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1424, allocations: 75.33 kB / 484.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1424, allocations: 0 / 484.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1424, allocations: 0 / 484.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1424, allocations: 7.938 kB / 484.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.1425, allocations: 27.98 kB / 484.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1429, allocations: 308.7 kB / 484.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1431, allocations: 62.48 kB / 484.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1431, allocations: 4 kB / 484.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1431, allocations: 30.56 kB / 484.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1431, allocations: 0 / 484.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006239/0.1438, allocations: 201.4 kB / 485.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.1438, allocations: 89.06 kB / 485.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.144, allocations: 150.1 kB / 485.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.144, allocations: 25.7 kB / 485.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.1441, allocations: 96.14 kB / 485.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1441, allocations: 27.55 kB / 485.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-06/0.1442, allocations: 4 kB / 485.5 MB, free: 1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1443, allocations: 322.8 kB / 485.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.1444, allocations: 31.98 kB / 485.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.1445, allocations: 57.56 kB / 485.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.1446, allocations: 35.98 kB / 486 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1446, allocations: 0 / 486 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002358/0.1448, allocations: 125.5 kB / 486.1 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1449, allocations: 4 kB / 486.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1449, allocations: 0 / 486.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1449, allocations: 7.953 kB / 486.1 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.145, allocations: 19.98 kB / 486.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.145, allocations: 0 / 486.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.1451, allocations: 11.98 kB / 486.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1451, allocations: 4 kB / 486.1 MB, free: 380 kB / 350.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 (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.0001103/0.1452, allocations: 117.8 kB / 486.3 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1453, allocations: 7.906 kB / 486.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.1456, allocations: 130.3 kB / 486.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1456, allocations: 0 / 486.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1456, allocations: 4.328 kB / 486.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1456, allocations: 3.984 kB / 486.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1461, allocations: 406.4 kB / 486.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1461, allocations: 4 kB / 486.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.1462, allocations: 23.92 kB / 486.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1462, allocations: 3.953 kB / 486.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1462, allocations: 4 kB / 486.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1462, allocations: 0 / 486.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1463, allocations: 0 / 486.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1465, allocations: 215.3 kB / 487 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1466, allocations: 85 kB / 487.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1466, allocations: 7.953 kB / 487.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.1467, allocations: 12.27 kB / 487.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1467, allocations: 4 kB / 487.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1467, allocations: 4 kB / 487.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.249e-05/0.1468, allocations: 125.2 kB / 487.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1468, allocations: 0 / 487.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1471, allocations: 43.98 kB / 487.3 MB, free: 15.09 MB / 366.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 (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.001485/0.1486, allocations: 1.13 MB / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1489, allocations: 79.89 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1489, allocations: 0 / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.149, allocations: 43.92 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1492, allocations: 16.17 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.1499, allocations: 442.9 kB / 489 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1501, allocations: 0.7004 MB / 489.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.1502, allocations: 20.56 kB / 489.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.1503, allocations: 31.41 kB / 489.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1503, allocations: 4 kB / 489.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.163, allocations: 3.04 MB / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.1632, allocations: 222.7 kB / 493 MB, free: 9.551 MB / 366.1 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: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 -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: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_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