Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.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.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",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.001446/0.001446, allocations: 175.6 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.72/1.72, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008958/0.0008962, allocations: 98.17 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.07848/0.07848, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004291, allocations: 16.78 kB / 392.1 MB, free: 54.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 50.38 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001795/0.1093, allocations: 1.517 MB / 444 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.1103, allocations: 0.6636 MB / 444.7 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1104, allocations: 7.938 kB / 444.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1105, allocations: 15.86 kB / 444.7 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1107, allocations: 19.8 kB / 444.7 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1111, allocations: 139.7 kB / 444.9 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1112, allocations: 127.6 kB / 445 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1114, allocations: 37.66 kB / 445 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.1114, allocations: 43.78 kB / 445.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.1115, allocations: 51.7 kB / 445.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1116, allocations: 4 kB / 445.1 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.1117, allocations: 35.97 kB / 445.2 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1117, allocations: 35.83 kB / 445.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.1118, allocations: 45.64 kB / 445.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1119, allocations: 124.3 kB / 445.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1119, allocations: 4 kB / 445.4 MB, free: 7.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1119, allocations: 0 / 445.4 MB, free: 7.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1119, allocations: 0 / 445.4 MB, free: 7.941 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000571/0.1125, allocations: 451 kB / 445.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1126, allocations: 12.03 kB / 445.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.1126, allocations: 42.55 kB / 445.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.1126, allocations: 19.81 kB / 445.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1129, allocations: 226.8 kB / 446.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1129, allocations: 8.188 kB / 446.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.113, allocations: 16 kB / 446.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.1136, allocations: 350.7 kB / 446.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1136, allocations: 0 / 446.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1136, allocations: 4 kB / 446.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1136, allocations: 0 / 446.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.1138, allocations: 107.8 kB / 446.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.1142, allocations: 333.6 kB / 446.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.1146, allocations: 290.1 kB / 447.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1148, allocations: 103.5 kB / 447.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/0.1153, allocations: 0.5895 MB / 447.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1154, allocations: 50.67 kB / 447.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.1154, allocations: 0 / 447.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005192/0.1159, allocations: 244.4 kB / 448.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.116, allocations: 126.7 kB / 448.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1161, allocations: 194.2 kB / 448.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1161, allocations: 25.7 kB / 448.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.1162, allocations: 108.5 kB / 448.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1162, allocations: 19.8 kB / 448.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.1162, allocations: 0 / 448.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.1163, allocations: 330.9 kB / 448.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.1164, allocations: 44.34 kB / 449 MB, free: 3.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1165, allocations: 161.9 kB / 449.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.1166, allocations: 71.89 kB / 449.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1166, allocations: 4 kB / 449.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002666/0.1169, allocations: 221.3 kB / 449.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1169, allocations: 8 kB / 449.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1169, allocations: 4 kB / 449.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.117, allocations: 4 kB / 449.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1171, allocations: 47.91 kB / 449.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1171, allocations: 4 kB / 449.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1172, allocations: 23.84 kB / 449.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1173, allocations: 12.22 kB / 449.5 MB, free: 3.289 MB / 282.7 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 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[3],sample.noise.seedState[2],sample.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.0001023/0.1174, allocations: 165.3 kB / 449.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.1176, allocations: 165.3 kB / 449.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1179, allocations: 187.3 kB / 450 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1179, allocations: 4 kB / 450 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.118, allocations: 0 / 450 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.118, allocations: 0 / 450 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1181, allocations: 225.5 kB / 450.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1181, allocations: 0 / 450.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1183, allocations: 39.91 kB / 450.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1183, allocations: 4 kB / 450.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1183, allocations: 11.95 kB / 450.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1183, allocations: 0 / 450.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1183, allocations: 0 / 450.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1187, allocations: 304.4 kB / 450.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1187, allocations: 120.8 kB / 450.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1188, allocations: 4 kB / 450.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1189, allocations: 15.98 kB / 450.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.1189, allocations: 0 / 450.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.119, allocations: 8 kB / 450.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.559e-05/0.119, allocations: 152.3 kB / 450.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1191, allocations: 0 / 450.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000285/0.1193, allocations: 28 kB / 450.9 MB, free: 1.777 MB / 282.7 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 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.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.0007113/0.1201, allocations: 0.9299 MB / 451.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.1204, allocations: 152 kB / 452 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1204, allocations: 1.188 kB / 452 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.1204, allocations: 11.98 kB / 452 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.121, allocations: 157.8 kB / 452.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1225, allocations: 1.063 MB / 453.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1228, allocations: 0.7363 MB / 454 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.1229, allocations: 17.55 kB / 454 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.123, allocations: 47.36 kB / 454 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.123, allocations: 0 / 454 MB, free: 14.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.1382, allocations: 3.8 MB / 457.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.1384, allocations: 224.5 kB / 458.1 MB, free: 10.46 MB / 298.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_Elementary_RealSignals_SampleWithADeffects.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -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_Elementary_RealSignals_SampleWithADeffects_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c:100:155: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[4] /* sample.noise.noise variable */ = omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_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_Elementary_RealSignals_SampleWithADeffects_15syn.o] Error 1