Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008345/0.0008346, allocations: 99.58 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008944/0.0008946, allocations: 195.1 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.451/1.451, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002518, allocations: 8 kB / 306.8 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002158/0.1099, allocations: 1.535 MB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1111, allocations: 0.6783 MB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1112, allocations: 7.938 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1113, allocations: 19.8 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.1115, allocations: 11.92 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.1119, allocations: 135.5 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1121, allocations: 123.6 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1123, allocations: 41.72 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1124, allocations: 55.7 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.1125, allocations: 35.78 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1125, allocations: 4 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1126, allocations: 51.89 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1127, allocations: 31.89 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.1128, allocations: 53.58 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1129, allocations: 135.7 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1129, allocations: 0 / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1129, allocations: 3.938 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.113, allocations: 0 / 361.2 MB, free: 11.05 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006993/0.1137, allocations: 459 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.1137, allocations: 16.02 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.1138, allocations: 42.56 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.1139, allocations: 27.8 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1142, allocations: 234.7 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1143, allocations: 16.12 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1143, allocations: 4 kB / 362 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.1149, allocations: 351.8 kB / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.115, allocations: 0 / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.115, allocations: 8 kB / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.115, allocations: 0 / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1152, allocations: 103.8 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1156, allocations: 341.6 kB / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1161, allocations: 282.4 kB / 363.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.1163, allocations: 105.7 kB / 363.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006704/0.117, allocations: 0.5856 MB / 363.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.117, allocations: 30.56 kB / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1171, allocations: 4 kB / 363.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006031/0.1177, allocations: 263.7 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.1178, allocations: 114.8 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.118, allocations: 186.3 kB / 364.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.118, allocations: 29.7 kB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.1181, allocations: 104.6 kB / 364.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1182, allocations: 23.73 kB / 364.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1182, allocations: 7.938 kB / 364.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1183, allocations: 326.8 kB / 364.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.1184, allocations: 40.38 kB / 364.9 MB, free: 7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.1186, allocations: 169.9 kB / 365 MB, free: 6.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1187, allocations: 63.95 kB / 365.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1188, allocations: 0 / 365.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003464/0.1191, allocations: 221.5 kB / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1191, allocations: 8.125 kB / 365.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.1192, allocations: 8 kB / 365.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1192, allocations: 7.953 kB / 365.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1193, allocations: 47.91 kB / 365.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1193, allocations: 4 kB / 365.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1195, allocations: 23.78 kB / 365.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1195, allocations: 12 kB / 365.4 MB, free: 6.379 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000155/0.1197, allocations: 149.7 kB / 365.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.12, allocations: 161.5 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.1203, allocations: 193.5 kB / 365.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.1204, allocations: 3.953 kB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/0.1204, allocations: 4 kB / 365.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1204, allocations: 7.969 kB / 365.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.1206, allocations: 221.5 kB / 366.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1207, allocations: 0 / 366.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1208, allocations: 47.84 kB / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1208, allocations: 0 / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1208, allocations: 0 / 366.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1208, allocations: 8 kB / 366.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1209, allocations: 7.938 kB / 366.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.1213, allocations: 298.4 kB / 366.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.1214, allocations: 108.9 kB / 366.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1214, allocations: 8 kB / 366.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1215, allocations: 15.98 kB / 366.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.1216, allocations: 0 / 366.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1216, allocations: 8 kB / 366.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1217, allocations: 144.4 kB / 366.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1217, allocations: 4 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000298/0.122, allocations: 32 kB / 366.8 MB, free: 4.883 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.000955/0.123, allocations: 0.9281 MB / 367.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.1233, allocations: 147.8 kB / 367.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1234, allocations: 0 / 367.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.1234, allocations: 17.11 kB / 367.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.124, allocations: 152.5 kB / 368 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1256, allocations: 1.062 MB / 369.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1259, allocations: 0.7326 MB / 369.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.263e-05/0.126, allocations: 25.55 kB / 369.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.1261, allocations: 43.42 kB / 369.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1261, allocations: 0 / 369.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.197/0.3231, allocations: 3.786 MB / 373.7 MB, free: 18.81 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001269/0.3232, allocations: 211.1 kB / 373.9 MB, free: 18.57 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_Elementary_RealSignals_SampleWithADeffects.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.c:7: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_15syn.c:100:151: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[4] /* 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_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_15syn.o] Error 1