Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008087/0.0008087, allocations: 86.81 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009424, allocations: 180 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.0002579, allocations: 5.688 kB / 300.9 MB, free: 5.547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 50.44 MB / 351.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002763/0.1076, allocations: 2.25 MB / 353.6 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.109, allocations: 0.8575 MB / 354.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.1091, allocations: 8 kB / 354.5 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.1093, allocations: 43.58 kB / 354.5 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1095, allocations: 47.62 kB / 354.5 MB, free: 8.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1101, allocations: 183 kB / 354.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1104, allocations: 335 kB / 355.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.1107, allocations: 127.5 kB / 355.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1108, allocations: 99.5 kB / 355.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.111, allocations: 103.3 kB / 355.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.111, allocations: 8 kB / 355.4 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1111, allocations: 51.94 kB / 355.4 MB, free: 7.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.1112, allocations: 43.78 kB / 355.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.1113, allocations: 81.5 kB / 355.6 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1116, allocations: 287.2 kB / 355.8 MB, free: 6.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1116, allocations: 4 kB / 355.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1116, allocations: 0 / 355.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1116, allocations: 0 / 355.8 MB, free: 6.797 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009149/0.1125, allocations: 0.5961 MB / 356.4 MB, free: 6.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1126, allocations: 12.03 kB / 356.4 MB, free: 6.141 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.1126, allocations: 66.53 kB / 356.5 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.1127, allocations: 39.53 kB / 356.6 MB, free: 6.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1131, allocations: 310.8 kB / 356.9 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1131, allocations: 20.56 kB / 356.9 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.1131, allocations: 28 kB / 356.9 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.1144, allocations: 0.7679 MB / 357.7 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1144, allocations: 0 / 357.7 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.1144, allocations: 16 kB / 357.7 MB, free: 4.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1144, allocations: 8 kB / 357.7 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.115, allocations: 239.8 kB / 357.9 MB, free: 4.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.1158, allocations: 0.7874 MB / 358.7 MB, free: 3.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1168, allocations: 0.6536 MB / 359.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.1172, allocations: 271.4 kB / 359.6 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005861/0.1178, allocations: 0.5934 MB / 360.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1179, allocations: 46.5 kB / 360.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=52): time 1.923e-06/0.1179, allocations: 0 / 360.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=52): time 0.001171/0.1191, allocations: 0.5602 MB / 360.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.1192, allocations: 219.8 kB / 361 MB, free: 1.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1195, allocations: 250.6 kB / 361.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1195, allocations: 33.7 kB / 361.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1196, allocations: 152.8 kB / 361.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1197, allocations: 47.62 kB / 361.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.1197, allocations: 8 kB / 361.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1198, allocations: 346.8 kB / 361.9 MB, free: 264 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.12, allocations: 89.06 kB / 362 MB, free: 176 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.1204, allocations: 435 kB / 362.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1206, allocations: 159.8 kB / 362.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1206, allocations: 4 kB / 362.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007375/0.1214, allocations: 0.497 MB / 363 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1214, allocations: 12 kB / 363 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1214, allocations: 12 kB / 363.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.1215, allocations: 19.95 kB / 363.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.1218, allocations: 120.4 kB / 363.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.1218, allocations: 31.86 kB / 363.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1221, allocations: 47.69 kB / 363.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.1221, allocations: 32 kB / 363.3 MB, free: 14.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001837/0.1223, allocations: 185.5 kB / 363.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.1229, allocations: 357.5 kB / 363.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.1235, allocations: 382.2 kB / 364.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1236, allocations: 11.94 kB / 364.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1236, allocations: 4 kB / 364.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1236, allocations: 3.984 kB / 364.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.124, allocations: 329.1 kB / 364.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.124, allocations: 8 kB / 364.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.1243, allocations: 103.9 kB / 364.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1244, allocations: 4 kB / 364.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.1244, allocations: 15.98 kB / 364.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1244, allocations: 4 kB / 364.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1244, allocations: 3.953 kB / 364.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1256, allocations: 0.8099 MB / 365.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1257, allocations: 116.6 kB / 365.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1257, allocations: 12 kB / 365.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.126, allocations: 35.97 kB / 365.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.126, allocations: 12.02 kB / 365.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.126, allocations: 15.98 kB / 365.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1262, allocations: 178 kB / 365.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1262, allocations: 0 / 365.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000483/0.1267, allocations: 75.94 kB / 365.9 MB, free: 11.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/0.1281, allocations: 1.387 MB / 367.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.1288, allocations: 369.9 kB / 367.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1289, allocations: 0 / 367.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.129, allocations: 35.91 kB / 367.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/0.1299, allocations: 313.7 kB / 368 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.1332, allocations: 2.26 MB / 370.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1336, allocations: 0.8084 MB / 371.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.1337, allocations: 39.27 kB / 371.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1339, allocations: 115.3 kB / 371.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1339, allocations: 0 / 371.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.1561, allocations: 7.269 MB / 378.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004006/0.1566, allocations: 223.9 kB / 378.7 MB, free: 15.01 MB / 318.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.c:7: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c:121:152: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[30] /* sample1.noise.noise variable */ = omc_Modelica_Clocked_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample1.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.h:16:122: note: passing argument to parameter '_seedIn' here modelica_real omc_Modelica_Clocked_RealSignals_Sampler_Utilities_Internal_random(threadData_t *threadData, integer_array _seedIn, integer_array *out_seedOut); ^ 2 warnings and 1 error generated. make: *** [: Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.o] Error 1