Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0158/0.01581, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.924/1.924, allocations: 194.5 MB / 210.3 MB, free: 8.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002008/0.002008, allocations: 120.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2467/0.2467, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004735, allocations: 13.72 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1005, allocations: 54.87 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.2536, allocations: 82.25 MB / 0.5307 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.2539, allocations: 79.94 kB / 0.5307 GB, free: 0.8633 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3331/0.587, allocations: 4.441 MB / 0.5351 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5871, allocations: 4 kB / 0.5351 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.5871, allocations: 1.438 kB / 0.5351 GB, free: 82.98 MB / 378.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.0006118/0.5877, allocations: 461.4 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5878, allocations: 11.38 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.5878, allocations: 33.8 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.5879, allocations: 7.469 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5882, allocations: 203.1 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.5883, allocations: 6.5 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.5883, allocations: 10.55 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.5885, allocations: 72.58 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5886, allocations: 0 / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.5886, allocations: 11.28 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5886, allocations: 5.062 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.5887, allocations: 25.73 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.5892, allocations: 305.9 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.5895, allocations: 62.02 kB / 0.5362 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.5895, allocations: 4.5 kB / 0.5362 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.5898, allocations: 78.05 kB / 0.5363 GB, free: 81.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.5898, allocations: 0 / 0.5363 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008445/0.5906, allocations: 187.5 kB / 0.5365 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5907, allocations: 87.47 kB / 0.5366 GB, free: 81.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.5909, allocations: 139.7 kB / 0.5367 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5909, allocations: 27.89 kB / 0.5367 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.591, allocations: 92.58 kB / 0.5368 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.591, allocations: 26.73 kB / 0.5369 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.591, allocations: 1.312 kB / 0.5369 GB, free: 81.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.5911, allocations: 325.1 kB / 0.5372 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.5913, allocations: 35.06 kB / 0.5372 GB, free: 81.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.5914, allocations: 60.2 kB / 0.5373 GB, free: 81.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5916, allocations: 69.95 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5916, allocations: 0 / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004396/0.5921, allocations: 171.4 kB / 0.5375 GB, free: 81.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.5921, allocations: 39.42 kB / 0.5375 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5921, allocations: 1.875 kB / 0.5375 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5922, allocations: 5.781 kB / 0.5375 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.5923, allocations: 17.44 kB / 0.5375 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.5923, allocations: 5.312 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.5925, allocations: 4.828 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5925, allocations: 4.344 kB / 0.5376 GB, free: 80.98 MB / 378.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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001183/0.5926, allocations: 122.8 kB / 0.5377 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5927, allocations: 13.78 kB / 0.5377 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.5931, allocations: 132.2 kB / 0.5378 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5931, allocations: 5.438 kB / 0.5378 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5931, allocations: 0 / 0.5378 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5931, allocations: 4.734 kB / 0.5378 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.5938, allocations: 411 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5938, allocations: 1.219 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.5939, allocations: 15.8 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5939, allocations: 1.344 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5939, allocations: 5.656 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5939, allocations: 5.438 kB / 0.5382 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.594, allocations: 1.672 kB / 0.5382 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.5943, allocations: 233.2 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.5944, allocations: 99.98 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.5945, allocations: 2.266 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5946, allocations: 7.828 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.5947, allocations: 6.828 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.5947, allocations: 7.125 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.5948, allocations: 118.9 kB / 0.5387 GB, free: 80.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5948, allocations: 1.094 kB / 0.5387 GB, free: 80.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.5953, allocations: 54.3 kB / 0.5388 GB, free: 80.12 MB / 378.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 (10): * Single equations (assignments): 8 * 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.002023/0.5973, allocations: 1.243 MB / 0.54 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.5978, allocations: 162.1 kB / 0.5401 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5978, allocations: 0.9375 kB / 0.5401 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.598, allocations: 34.38 kB / 0.5402 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.5983, allocations: 36.08 kB / 0.5402 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/0.5993, allocations: 0.6098 MB / 0.5408 GB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.5995, allocations: 0.7003 MB / 0.5415 GB, free: 77.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.5996, allocations: 12.62 kB / 0.5415 GB, free: 77.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5997, allocations: 30.67 kB / 0.5415 GB, free: 77.77 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5997, allocations: 4 kB / 0.5415 GB, free: 77.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.6331, allocations: 3.197 MB / 0.5446 GB, free: 76.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/0.6334, allocations: 220.1 kB / 0.5448 GB, free: 76.7 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_2_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); ^ ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:148:90: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = Less(data->localData[0]->realVars[8] /* t_new.nextTimeEventScaled DISCRETE */,1.797693134862316e+308); ^ ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:149:153: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] data->localData[0]->realVars[7] /* t_new.nextTimeEvent DISCRETE */ = (tmp1?data->localData[0]->realVars[8] /* t_new.nextTimeEventScaled DISCRETE */:1.797693134862316e+308); ^ 4 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_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_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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. : recipe for target 'ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1