Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 174.5 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 222 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009128/0.0009129, allocations: 90.23 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08334/0.08334, allocations: 12.6 MB / 331.2 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 15.34 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 50.39 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002616/0.1038, allocations: 2.247 MB / 444.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.105, allocations: 0.8973 MB / 445.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1052, allocations: 15.94 kB / 445.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.1054, allocations: 39.64 kB / 445.7 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1056, allocations: 35.66 kB / 445.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.1061, allocations: 187.7 kB / 445.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1064, allocations: 339 kB / 446.2 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.1066, allocations: 127.4 kB / 446.4 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1067, allocations: 95.45 kB / 446.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1069, allocations: 103.3 kB / 446.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1069, allocations: 8 kB / 446.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.107, allocations: 43.97 kB / 446.6 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.1071, allocations: 51.75 kB / 446.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.1071, allocations: 81.45 kB / 446.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1074, allocations: 268.2 kB / 447 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1074, allocations: 4 kB / 447 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1074, allocations: 4 kB / 447 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1074, allocations: 0 / 447 MB, free: 6.285 MB / 282.7 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.000838/0.1082, allocations: 0.5922 MB / 447.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1083, allocations: 12.03 kB / 447.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.1083, allocations: 66.53 kB / 447.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.1084, allocations: 43.48 kB / 447.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1087, allocations: 314.7 kB / 448 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1088, allocations: 24.56 kB / 448.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1088, allocations: 24 kB / 448.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.11, allocations: 0.7714 MB / 448.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.11, allocations: 4 kB / 448.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.11, allocations: 12 kB / 448.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.11, allocations: 7.953 kB / 448.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.1106, allocations: 239.8 kB / 449.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.1112, allocations: 0.7798 MB / 449.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.1122, allocations: 0.6498 MB / 450.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.1126, allocations: 282.9 kB / 450.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.1131, allocations: 0.5934 MB / 451.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1132, allocations: 50.47 kB / 451.5 MB, free: 1.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 1.813e-06/0.1132, allocations: 4 kB / 451.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=52): time 0.001047/0.1142, allocations: 0.5525 MB / 452 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.1143, allocations: 215.8 kB / 452.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1145, allocations: 258.7 kB / 452.5 MB, free: 340 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1146, allocations: 33.7 kB / 452.5 MB, free: 300 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.1146, allocations: 152.7 kB / 452.7 MB, free: 144 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1147, allocations: 47.69 kB / 452.7 MB, free: 96 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.1147, allocations: 4 kB / 452.7 MB, free: 92 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1149, allocations: 346.8 kB / 453 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1151, allocations: 93.06 kB / 453.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.1155, allocations: 431 kB / 453.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.1158, allocations: 163.8 kB / 453.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.1158, allocations: 8 kB / 453.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007907/0.1166, allocations: 0.489 MB / 454.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1166, allocations: 12 kB / 454.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.1167, allocations: 12.84 kB / 454.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.1167, allocations: 16 kB / 454.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.1171, allocations: 127.8 kB / 454.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/0.1171, allocations: 23.92 kB / 454.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.1174, allocations: 47.69 kB / 454.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.1174, allocations: 39.89 kB / 454.5 MB, free: 14.12 MB / 298.7 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.000203/0.1176, allocations: 189.5 kB / 454.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006318/0.1182, allocations: 361.9 kB / 455 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.1189, allocations: 364.7 kB / 455.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.119, allocations: 4 kB / 455.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.119, allocations: 8 kB / 455.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.119, allocations: 7.984 kB / 455.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1194, allocations: 341 kB / 455.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.1194, allocations: 4 kB / 455.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.1198, allocations: 103.9 kB / 455.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1198, allocations: 4.469 kB / 455.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1199, allocations: 11.98 kB / 455.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1199, allocations: 4 kB / 455.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1199, allocations: 7.938 kB / 455.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1212, allocations: 0.8097 MB / 456.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1213, allocations: 124.6 kB / 456.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.1214, allocations: 11.94 kB / 456.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1216, allocations: 40.03 kB / 456.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1217, allocations: 4 kB / 456.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1217, allocations: 15.98 kB / 456.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1219, allocations: 178 kB / 457 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1219, allocations: 0 / 457 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.1223, allocations: 72 kB / 457.1 MB, free: 11.38 MB / 298.7 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.001688/0.124, allocations: 1.39 MB / 458.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.1248, allocations: 373.6 kB / 458.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.1248, allocations: 4 kB / 458.9 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1249, allocations: 35.91 kB / 458.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.1259, allocations: 310.8 kB / 459.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.1294, allocations: 2.268 MB / 461.5 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1298, allocations: 0.808 MB / 462.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1299, allocations: 47.25 kB / 462.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1301, allocations: 107.4 kB / 462.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1301, allocations: 0 / 462.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.1516, allocations: 7.288 MB / 469.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.1518, allocations: 238.2 kB / 470 MB, free: 14.23 MB / 314.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c:121:157: 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__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample1.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.h:16:127: note: passing argument to parameter '_seedIn' here modelica_real omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData_t *threadData, integer_array _seedIn, integer_array *out_seedOut); ^ 2 warnings and 1 error generated. make: *** [: Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.o] Error 1