Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.327/2.327, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.196e-05, allocations: 8 kB / 284.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 50.36 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5815, allocations: 78.98 MB / 413.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.5818, allocations: 59.22 kB / 413.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007587/0.5894, allocations: 1.751 MB / 415.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.5895, allocations: 0 / 415.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.5895, allocations: 0.9844 kB / 415.6 MB, free: 13.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006145/0.5901, allocations: 377.8 kB / 416 MB, free: 13.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5902, allocations: 12.02 kB / 416 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.5902, allocations: 38.19 kB / 416 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.5903, allocations: 11.84 kB / 416 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5905, allocations: 182 kB / 416.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.5906, allocations: 7.953 kB / 416.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.5906, allocations: 7.312 kB / 416.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.5909, allocations: 115 kB / 416.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5909, allocations: 1.969 kB / 416.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.591, allocations: 4 kB / 416.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.591, allocations: 0 / 416.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.5911, allocations: 24.81 kB / 416.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.5917, allocations: 392 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.5922, allocations: 104.4 kB / 416.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.5923, allocations: 33.14 kB / 416.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5923, allocations: 0 / 416.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.5925, allocations: 79.77 kB / 416.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.5925, allocations: 4 kB / 416.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002698/0.5928, allocations: 86.64 kB / 417 MB, free: 11.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.5929, allocations: 106.8 kB / 417.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.593, allocations: 115.9 kB / 417.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5931, allocations: 25.7 kB / 417.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.5931, allocations: 95.06 kB / 417.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.5932, allocations: 15.56 kB / 417.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.5932, allocations: 4.031 kB / 417.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5934, allocations: 329.7 kB / 417.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.5934, allocations: 15.12 kB / 417.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/0.5935, allocations: 68.33 kB / 417.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.5937, allocations: 112.4 kB / 417.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5937, allocations: 0 / 417.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002448/0.594, allocations: 103.8 kB / 418 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.594, allocations: 11.98 kB / 418 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5941, allocations: 4 kB / 418 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5941, allocations: 8.188 kB / 418 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.5942, allocations: 12 kB / 418 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.5943, allocations: 7.938 kB / 418 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5944, allocations: 19.83 kB / 418.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.5944, allocations: 4 kB / 418.1 MB, free: 10.75 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001189/0.5946, allocations: 123 kB / 418.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5947, allocations: 53.41 kB / 418.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.5948, allocations: 21.91 kB / 418.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5948, allocations: 0 / 418.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5948, allocations: 4 kB / 418.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5948, allocations: 0 / 418.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.5954, allocations: 338 kB / 418.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5954, allocations: 0 / 418.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5956, allocations: 27.92 kB / 418.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5956, allocations: 0 / 418.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5956, allocations: 3.25 kB / 418.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5957, allocations: 7.984 kB / 418.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5957, allocations: 0 / 418.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.596, allocations: 224.2 kB / 418.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.596, allocations: 85.02 kB / 418.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.5961, allocations: 7 kB / 418.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.5963, allocations: 11.98 kB / 419 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.5963, allocations: 11 kB / 419 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.5964, allocations: 4 kB / 419 MB, free: 9.785 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.5965, allocations: 97.97 kB / 419.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.214e-06/0.5965, allocations: 4 kB / 419.1 MB, free: 9.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.5968, allocations: 19.19 kB / 419.1 MB, free: 9.676 MB / 346.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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007541/0.5976, allocations: 0.9213 MB / 420 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.5979, allocations: 62.28 kB / 420.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.598, allocations: 0 / 420.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.5981, allocations: 15.44 kB / 420.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.5986, allocations: 28.58 kB / 420.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.5995, allocations: 177.6 kB / 420.3 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.5999, allocations: 0.7004 MB / 421 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.549e-05/0.6, allocations: 8.656 kB / 421 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6001, allocations: 29.8 kB / 421 MB, free: 7.707 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6002, allocations: 0 / 421 MB, free: 7.707 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08139/0.6816, allocations: 2.03 MB / 423.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.6818, allocations: 179 kB / 423.2 MB, free: 5.52 MB / 346.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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); ^ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.c:163:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 0, data->localData[0]->timeValue); ^ 3 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_functions.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_records.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_records.c:4: 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); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_01exo.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_02nls.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_03lsy.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_04set.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_05evt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_06inz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_07dly.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_08bnd.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_09alg.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_10asr.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_11mix.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_12jac.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_13opt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_14lnz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_15syn.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_16dae.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_16dae.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_16dae.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_17inl.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_17inl.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_17inl.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_init_fmu.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_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: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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_FMU.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_FMU.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_FMU.c:9: 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); ^ In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162: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 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.so Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_functions.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_records.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_01exo.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_02nls.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_03lsy.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_04set.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_05evt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_06inz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_07dly.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_08bnd.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_09alg.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_10asr.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_11mix.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_12jac.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_13opt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_14lnz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_15syn.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_16dae.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_17inl.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_FMU.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Synchronous 0.93.0" -Wl,-Bstatic -Wl,-Bdynamic -L'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins/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 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.o: In function `Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator_eqFunction_19': Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestEventClockWithIntegrator.c:(.text+0x2e5): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:31: recipe for target 'nozip' failed make: *** [nozip] Error 1