Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009575, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 170.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5122/0.5122, allocations: 43.54 MB / 314.5 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005787, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1579, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002239/0.1602, allocations: 1.399 MB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1614, allocations: 0.7461 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1615, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1618, allocations: 31.89 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.162, allocations: 51.81 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1623, allocations: 79.72 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1624, allocations: 59.86 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.1625, allocations: 16.2 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.1626, allocations: 35.8 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.1627, allocations: 27.84 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1627, allocations: 4 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1629, allocations: 43.97 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.1629, allocations: 19.92 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.163, allocations: 37.64 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1631, allocations: 96.06 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1631, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1632, allocations: 3.938 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1632, allocations: 0 / 445.5 MB, free: 10.3 MB / 382.1 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.000563/0.1637, allocations: 398.9 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1638, allocations: 11.97 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.1638, allocations: 34.56 kB / 445.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1639, allocations: 11.91 kB / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1641, allocations: 194.9 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1642, allocations: 4 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1642, allocations: 0 / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1644, allocations: 79.31 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1644, allocations: 4 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1644, allocations: 4 kB / 446.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1645, allocations: 0 / 446.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.1645, allocations: 27.92 kB / 446.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.165, allocations: 292.8 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1651, allocations: 62.52 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1652, allocations: 0 / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.1654, allocations: 83.34 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/0.1654, allocations: 3.984 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005513/0.166, allocations: 177.4 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.166, allocations: 77.11 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1662, allocations: 149.3 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1662, allocations: 33.69 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1663, allocations: 92.14 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1663, allocations: 27.64 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1663, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1665, allocations: 330.8 kB / 447.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.1666, allocations: 20 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/0.1666, allocations: 46.5 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.1667, allocations: 31.92 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1667, allocations: 0 / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001937/0.1669, allocations: 113.5 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.167, allocations: 7.984 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.167, allocations: 0 / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.167, allocations: 4 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.1671, allocations: 12 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1671, allocations: 4 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1672, allocations: 3.984 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1672, allocations: 4 kB / 447.8 MB, free: 7.758 MB / 382.1 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 (11): * Single equations (assignments): 11 * 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.0001162/0.1673, allocations: 133.7 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1673, allocations: 11.91 kB / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.1676, allocations: 114.3 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1676, allocations: 0 / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1676, allocations: 0 / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1676, allocations: 0 / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.1681, allocations: 399.3 kB / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1681, allocations: 0 / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.1681, allocations: 20.02 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1681, allocations: 0 / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1682, allocations: 4 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1682, allocations: 4 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1682, allocations: 0 / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1684, allocations: 213.9 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.1685, allocations: 96.91 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1686, allocations: 8 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.1686, allocations: 0 / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.1687, allocations: 7.984 kB / 448.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1687, allocations: 8.234 kB / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.753e-05/0.1688, allocations: 119.2 kB / 448.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1688, allocations: 0 / 448.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1691, allocations: 43.92 kB / 448.9 MB, free: 6.484 MB / 382.1 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 (9): * Single equations (assignments): 7 * 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.001765/0.1709, allocations: 1.226 MB / 450.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1711, allocations: 63.91 kB / 450.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1711, allocations: 0 / 450.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.1712, allocations: 32.05 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1714, allocations: 35.86 kB / 450.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1727, allocations: 0.7746 MB / 451.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1731, allocations: 0.7043 MB / 451.8 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.444e-05/0.1732, allocations: 25.17 kB / 451.8 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.1732, allocations: 35.36 kB / 451.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1732, allocations: 0 / 451.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.1894, allocations: 3.144 MB / 455 MB, free: 380 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.1897, allocations: 225.2 kB / 455.2 MB, free: 136 kB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_3_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: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 -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 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.o] Error 1