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.001257/0.001257, 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.918/1.918, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008535/0.0008535, allocations: 82.61 kB / 267 MB, free: 9.281 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.466/0.466, allocations: 43.46 MB / 358.6 MB, free: 51.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.782e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1555, allocations: 58.86 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.6254, allocations: 86.4 MB / 0.5573 GB, free: 17.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.6257, allocations: 72.62 kB / 0.5574 GB, free: 17.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009581/0.6353, allocations: 3.756 MB / 0.561 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6354, allocations: 0 / 0.561 GB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.6354, allocations: 0 / 0.561 GB, free: 15.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004511/0.6359, allocations: 372.2 kB / 0.5614 GB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.6359, allocations: 12.03 kB / 0.5614 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.636, allocations: 30.56 kB / 0.5614 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.636, allocations: 13.89 kB / 0.5614 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.6363, allocations: 193.6 kB / 0.5616 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6363, allocations: 4 kB / 0.5616 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6364, allocations: 11.92 kB / 0.5616 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6366, allocations: 69.67 kB / 0.5617 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6366, allocations: 1.734 kB / 0.5617 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6366, allocations: 3.125 kB / 0.5617 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6366, allocations: 5.375 kB / 0.5617 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.677e-05/0.6367, allocations: 20.97 kB / 0.5617 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.6372, allocations: 297.6 kB / 0.562 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6373, allocations: 51.7 kB / 0.5621 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.6374, allocations: 21.81 kB / 0.5621 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.6374, allocations: 4 kB / 0.5621 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6375, allocations: 33.62 kB / 0.5621 GB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.6375, allocations: 0 / 0.5621 GB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004995/0.638, allocations: 133.9 kB / 0.5622 GB, free: 13.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.638, allocations: 85.06 kB / 0.5623 GB, free: 13.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.6382, allocations: 127.8 kB / 0.5625 GB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.6382, allocations: 33.02 kB / 0.5625 GB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.6382, allocations: 88.97 kB / 0.5626 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.6383, allocations: 24.84 kB / 0.5626 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.6383, allocations: 0 / 0.5626 GB, free: 13.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.6384, allocations: 327.7 kB / 0.5629 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.6384, allocations: 11.5 kB / 0.5629 GB, free: 13.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.6384, allocations: 31.88 kB / 0.5629 GB, free: 13.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.6385, allocations: 13.08 kB / 0.563 GB, free: 13.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6385, allocations: 0 / 0.563 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00011/0.6386, allocations: 79.91 kB / 0.563 GB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6386, allocations: 8 kB / 0.563 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6386, allocations: 1.547 kB / 0.563 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6387, allocations: 0 / 0.563 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.6388, allocations: 22.75 kB / 0.5631 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.6388, allocations: 0 / 0.5631 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.6389, allocations: 12.67 kB / 0.5631 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.6389, allocations: 5.594 kB / 0.5631 GB, free: 13.01 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 (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 5.425e-05/0.6389, allocations: 108.3 kB / 0.5632 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.639, allocations: 7.906 kB / 0.5632 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.6392, allocations: 99.84 kB / 0.5633 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6392, allocations: 3.938 kB / 0.5633 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6392, allocations: 0 / 0.5633 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6392, allocations: 1.641 kB / 0.5633 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.6395, allocations: 355.4 kB / 0.5636 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6395, allocations: 0 / 0.5636 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.6396, allocations: 18.52 kB / 0.5637 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6396, allocations: 4 kB / 0.5637 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.6396, allocations: 1.078 kB / 0.5637 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6396, allocations: 4 kB / 0.5637 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6396, allocations: 5.266 kB / 0.5637 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.6398, allocations: 169.9 kB / 0.5638 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.6398, allocations: 87.53 kB / 0.5639 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.6398, allocations: 4 kB / 0.5639 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.6399, allocations: 5.406 kB / 0.5639 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.6399, allocations: 18.14 kB / 0.5639 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.64, allocations: 0 / 0.5639 GB, free: 12.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.64, allocations: 111.5 kB / 0.564 GB, free: 12.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.64, allocations: 3.938 kB / 0.564 GB, free: 12.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.6403, allocations: 25.8 kB / 0.5641 GB, free: 12.04 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 (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.001199/0.6415, allocations: 1.018 MB / 0.5651 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.6417, allocations: 42.94 kB / 0.5651 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6417, allocations: 0 / 0.5651 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.6417, allocations: 23.75 kB / 0.5651 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.6419, allocations: 15.28 kB / 0.5651 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.6425, allocations: 184.9 kB / 0.5653 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.6427, allocations: 0.6985 MB / 0.566 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.6428, allocations: 16.75 kB / 0.566 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.6429, allocations: 27.25 kB / 0.566 GB, free: 10.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6429, allocations: 0 / 0.566 GB, free: 10.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.6572, allocations: 2.468 MB / 0.5685 GB, free: 8.289 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.6574, allocations: 198.5 kB / 0.5686 GB, free: 8.062 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_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: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_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: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_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