Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.0009246/0.0009247, allocations: 102.3 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.00106, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002392, allocations: 4 kB / 306.8 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09906, allocations: 51.48 MB / 358.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003005/0.1021, allocations: 2.265 MB / 360.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1038, allocations: 0.9043 MB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.1041, allocations: 7.938 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1043, allocations: 39.59 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1045, allocations: 51.62 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.1051, allocations: 191.2 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.1055, allocations: 335 kB / 362.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1058, allocations: 131.6 kB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1059, allocations: 91.47 kB / 362.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1061, allocations: 115.3 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.1061, allocations: 8 kB / 362.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1062, allocations: 39.97 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.598e-05/0.1063, allocations: 55.7 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.1064, allocations: 73.52 kB / 362.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1067, allocations: 295.5 kB / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1067, allocations: 0 / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1067, allocations: 0 / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1067, allocations: 0 / 362.9 MB, free: 9.188 MB / 302.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.0009044/0.1077, allocations: 0.5884 MB / 363.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1077, allocations: 16.03 kB / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.87e-05/0.1078, allocations: 62.53 kB / 363.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.1079, allocations: 39.53 kB / 363.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1083, allocations: 326.7 kB / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1083, allocations: 20.56 kB / 363.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.1084, allocations: 24 kB / 363.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1097, allocations: 0.7675 MB / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1098, allocations: 4 kB / 364.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.1098, allocations: 8 kB / 364.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1098, allocations: 8 kB / 364.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.1104, allocations: 255.5 kB / 365 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.1113, allocations: 0.7643 MB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1125, allocations: 0.6537 MB / 366.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.113, allocations: 271.4 kB / 366.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/0.1137, allocations: 0.5895 MB / 367.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1137, allocations: 42.56 kB / 367.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/0.1137, allocations: 0 / 367.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001282/0.115, allocations: 0.568 MB / 367.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.1152, allocations: 215.9 kB / 368.1 MB, free: 3.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.1155, allocations: 246.6 kB / 368.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1155, allocations: 33.7 kB / 368.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1156, allocations: 160.7 kB / 368.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1157, allocations: 39.69 kB / 368.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.1157, allocations: 12 kB / 368.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1158, allocations: 350.7 kB / 368.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.116, allocations: 85.06 kB / 369 MB, free: 2.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.1164, allocations: 438.9 kB / 369.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.1167, allocations: 159.9 kB / 369.6 MB, free: 1.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.1167, allocations: 11.89 kB / 369.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007876/0.1175, allocations: 0.4933 MB / 370.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1175, allocations: 11.98 kB / 370.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1176, allocations: 12 kB / 370.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.1176, allocations: 20 kB / 370.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1179, allocations: 119.8 kB / 370.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.118, allocations: 24.42 kB / 370.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.1183, allocations: 51.67 kB / 370.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.1183, allocations: 28 kB / 370.3 MB, free: 1.047 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.0002619/0.1186, allocations: 192.8 kB / 370.5 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/0.1192, allocations: 362.2 kB / 370.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006726/0.1199, allocations: 373.4 kB / 371.2 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.12, allocations: 4.047 kB / 371.2 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.12, allocations: 3.984 kB / 371.2 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.12, allocations: 7.984 kB / 371.2 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2143/0.3342, allocations: 326.8 kB / 371.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.3343, allocations: 2.156 kB / 371.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.3348, allocations: 116.2 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.3348, allocations: 3.188 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.3349, allocations: 14.05 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.3349, allocations: 4.359 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3349, allocations: 1.969 kB / 371.7 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3364, allocations: 0.8078 MB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.3365, allocations: 119.3 kB / 372.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.3365, allocations: 17.8 kB / 372.6 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.3368, allocations: 32.58 kB / 372.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3369, allocations: 4.844 kB / 372.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.3369, allocations: 17.64 kB / 372.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3372, allocations: 180.9 kB / 372.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3372, allocations: 3.906 kB / 372.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006088/0.3378, allocations: 77.95 kB / 372.9 MB, free: 18.93 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.001733/0.3395, allocations: 1.377 MB / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009779/0.3405, allocations: 376.3 kB / 374.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3405, allocations: 0.6875 kB / 374.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3407, allocations: 35.23 kB / 374.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.342, allocations: 311 kB / 375 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.346, allocations: 2.261 MB / 377.3 MB, free: 16.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3464, allocations: 0.8113 MB / 378.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.3466, allocations: 43.17 kB / 378.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3468, allocations: 111.3 kB / 378.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3468, allocations: 1.094 kB / 378.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.3692, allocations: 7.266 MB / 385.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.3694, allocations: 219.7 kB / 385.7 MB, free: 14.25 MB / 302.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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.c:7: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_functions.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_records.c In file included from Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_01exo.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_02nls.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_03lsy.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_04set.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_05evt.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_06inz.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_07dly.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_08bnd.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_09alg.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_10asr.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_11mix.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_12jac.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_13opt.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_14lnz.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.o Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.c:2: In file included from ./Modelica_trunk_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_trunk_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_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_15syn.o] Error 1