Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.OnDelay.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.Blocks.OnDelay,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, 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.508/1.508, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008745/0.0008744, allocations: 106.6 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3839/0.3839, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.000324, allocations: 4.219 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3689, allocations: 63.25 MB / 0.5193 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.5027, allocations: 92.08 MB / 0.6092 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.503, allocations: 72.94 kB / 0.6093 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03082/0.5339, allocations: 6.974 MB / 0.6161 GB, free: 6.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5339, allocations: 4 kB / 0.6161 GB, free: 6.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.534, allocations: 11.92 kB / 0.6161 GB, free: 6.492 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001381/0.5354, allocations: 0.6587 MB / 0.6167 GB, free: 5.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.5354, allocations: 8.031 kB / 0.6167 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.849e-05/0.5355, allocations: 42.56 kB / 0.6168 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.5357, allocations: 31.72 kB / 0.6168 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.5364, allocations: 290.4 kB / 0.6171 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.5365, allocations: 93.11 kB / 0.6172 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.5366, allocations: 16 kB / 0.6172 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.537, allocations: 161.5 kB / 0.6173 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.537, allocations: 0 / 0.6173 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.5371, allocations: 15.97 kB / 0.6174 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5371, allocations: 4 kB / 0.6174 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.5374, allocations: 95.86 kB / 0.6174 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.5385, allocations: 0.6258 MB / 0.6181 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.5389, allocations: 184.1 kB / 0.6182 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.5389, allocations: 3.938 kB / 0.6182 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.5394, allocations: 438.3 kB / 0.6187 GB, free: 3.535 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.5394, allocations: 0 / 0.6187 GB, free: 3.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009995/0.5404, allocations: 0.6775 MB / 0.6193 GB, free: 2.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.5405, allocations: 217.6 kB / 0.6195 GB, free: 2.516 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.5409, allocations: 301.7 kB / 0.6198 GB, free: 2.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.541, allocations: 33.7 kB / 0.6198 GB, free: 2.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.5411, allocations: 136.6 kB / 0.62 GB, free: 2.035 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.5412, allocations: 51.44 kB / 0.62 GB, free: 1.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.5412, allocations: 4 kB / 0.62 GB, free: 1.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5413, allocations: 342.8 kB / 0.6204 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.5415, allocations: 56.27 kB / 0.6204 GB, free: 1.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.5417, allocations: 152.4 kB / 0.6206 GB, free: 1.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.5419, allocations: 154.9 kB / 0.6207 GB, free: 1.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5419, allocations: 0 / 0.6207 GB, free: 1.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005382/0.5424, allocations: 350.2 kB / 0.621 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.5425, allocations: 97.03 kB / 0.6211 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5425, allocations: 4 kB / 0.6211 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5426, allocations: 7.953 kB / 0.6211 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5427, allocations: 27.92 kB / 0.6212 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5427, allocations: 4.219 kB / 0.6212 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.5429, allocations: 23.98 kB / 0.6212 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.5429, allocations: 12 kB / 0.6212 GB, free: 0.6719 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002361/0.5431, allocations: 269.9 kB / 0.6215 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.5432, allocations: 35.62 kB / 0.6215 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.5436, allocations: 209 kB / 0.6217 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5436, allocations: 0 / 0.6217 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.5436, allocations: 3.953 kB / 0.6217 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5436, allocations: 7.984 kB / 0.6217 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.544, allocations: 301.5 kB / 0.622 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.544, allocations: 192 / 0.622 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.544, allocations: 12 kB / 0.622 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.544, allocations: 0 / 0.622 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.5441, allocations: 11.98 kB / 0.622 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5441, allocations: 3.938 kB / 0.622 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5441, allocations: 0 / 0.622 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.5448, allocations: 486.4 kB / 0.6225 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.5449, allocations: 108.8 kB / 0.6226 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.545, allocations: 23.95 kB / 0.6226 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5451, allocations: 19.98 kB / 0.6226 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.5452, allocations: 16.17 kB / 0.6226 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5453, allocations: 15.98 kB / 0.6227 GB, free: 15.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002584/0.5455, allocations: 241.9 kB / 0.6229 GB, free: 14.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5455, allocations: 0 / 0.6229 GB, free: 14.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000372/0.5459, allocations: 79.84 kB / 0.623 GB, free: 14.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.001897/0.5478, allocations: 1.491 MB / 0.6244 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006027/0.5484, allocations: 394 kB / 0.6248 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5484, allocations: 0 / 0.6248 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.5488, allocations: 358.5 kB / 0.6251 GB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.5492, allocations: 40.69 kB / 0.6252 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.5523, allocations: 2.869 MB / 0.628 GB, free: 9.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5526, allocations: 0.7638 MB / 0.6287 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.5528, allocations: 29.47 kB / 0.6288 GB, free: 8.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.5529, allocations: 63.42 kB / 0.6288 GB, free: 8.645 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5529, allocations: 0 / 0.6288 GB, free: 8.645 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.5723, allocations: 5.665 MB / 0.6343 GB, free: 3.09 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.5725, allocations: 207 kB / 0.6345 GB, free: 2.84 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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_functions.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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); ^ 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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_records.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_records.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_records.c:4: 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); ^ 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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_01exo.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_02nls.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_03lsy.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_03lsy.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_03lsy.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_04set.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_04set.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_04set.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_05evt.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_05evt.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_05evt.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_06inz.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_06inz.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_06inz.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_07dly.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_07dly.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_07dly.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_08bnd.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_08bnd.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_08bnd.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_09alg.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_09alg.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_09alg.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_10asr.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_10asr.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_10asr.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_11mix.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_11mix.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_11mix.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_12jac.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_12jac.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_12jac.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_13opt.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_13opt.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_13opt.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_14lnz.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_14lnz.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_14lnz.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_15syn.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_15syn.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_15syn.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_16dae.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_16dae.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_16dae.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_17inl.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_17inl.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_17inl.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_init_fmu.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_init_fmu.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_init_fmu.c:1: In file included from ./simulation_data.h:39: 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 -c -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_FMU.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_FMU.c In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_FMU.c:9: 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); ^ In file included from ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay.so ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_functions.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_records.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_01exo.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_02nls.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_03lsy.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_04set.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_05evt.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_06inz.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_07dly.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_08bnd.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_09alg.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_10asr.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_11mix.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_12jac.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_13opt.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_14lnz.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_15syn.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_16dae.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_17inl.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_init_fmu.o ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaMatIO.a(ModelicaMatIO.o): in function `Mat_VarDelete': ModelicaMatIO.c:(.text+0x25a5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTimeTable_constructor': ModelicaTest_trunk_ModelicaTest_Blocks_OnDelay_functions.c:(.text+0x40e): undefined reference to `ModelicaStandardTables_CombiTimeTable_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1