Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.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.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",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.001042/0.001042, allocations: 173.1 kB / 15.81 MB, free: 6.285 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.469/1.469, allocations: 205.4 MB / 222 MB, free: 13.84 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.0009533/0.0009536, allocations: 98.28 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.08086/0.08086, allocations: 12.6 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004474, allocations: 14.56 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1063, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.002989/0.1094, allocations: 1.883 MB / 444.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1108, allocations: 0.8234 MB / 445.2 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1109, allocations: 4 kB / 445.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1111, allocations: 35.66 kB / 445.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1113, allocations: 27.73 kB / 445.3 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1118, allocations: 177.7 kB / 445.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1121, allocations: 271.2 kB / 445.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1123, allocations: 99.2 kB / 445.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1124, allocations: 79.56 kB / 445.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1126, allocations: 87.42 kB / 446 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1126, allocations: 4 kB / 446 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1127, allocations: 39.97 kB / 446 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.1128, allocations: 39.78 kB / 446.1 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.1129, allocations: 65.56 kB / 446.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1131, allocations: 224.3 kB / 446.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1131, allocations: 4 kB / 446.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1131, allocations: 0 / 446.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1132, allocations: 0 / 446.3 MB, free: 6.969 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007847/0.1139, allocations: 0.5338 MB / 446.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.114, allocations: 12.03 kB / 446.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/0.1141, allocations: 54.55 kB / 446.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1141, allocations: 35.58 kB / 447 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1145, allocations: 293.9 kB / 447.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1145, allocations: 16.44 kB / 447.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1145, allocations: 20 kB / 447.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1156, allocations: 0.6584 MB / 448 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1156, allocations: 4 kB / 448 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1156, allocations: 11.94 kB / 448 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1156, allocations: 4 kB / 448 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.116, allocations: 184.1 kB / 448.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.1165, allocations: 0.5298 MB / 448.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.1173, allocations: 0.5829 MB / 449.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.1176, allocations: 236.4 kB / 449.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005535/0.1182, allocations: 0.5973 MB / 450.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1182, allocations: 46.5 kB / 450.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 1.873e-06/0.1182, allocations: 0 / 450.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008915/0.1191, allocations: 479.5 kB / 450.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.1192, allocations: 216.2 kB / 450.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1194, allocations: 229 kB / 451 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1194, allocations: 37.64 kB / 451.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.1195, allocations: 133 kB / 451.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1196, allocations: 27.88 kB / 451.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.1196, allocations: 8 kB / 451.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.1197, allocations: 338.8 kB / 451.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1198, allocations: 64.83 kB / 451.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.12, allocations: 348 kB / 452 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1201, allocations: 124.3 kB / 452.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1202, allocations: 0 / 452.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004819/0.1206, allocations: 396.8 kB / 452.5 MB, free: 180 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1207, allocations: 8 kB / 452.5 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1207, allocations: 12.83 kB / 452.5 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.1207, allocations: 16 kB / 452.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1209, allocations: 91.84 kB / 452.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.121, allocations: 19.92 kB / 452.6 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.1212, allocations: 35.73 kB / 452.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1212, allocations: 28 kB / 452.7 MB, free: 15.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (47): * Single equations (assignments): 47 * 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.0001927/0.1214, allocations: 181.4 kB / 452.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/0.122, allocations: 325 kB / 453.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.1227, allocations: 345.1 kB / 453.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1227, allocations: 8 kB / 453.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1227, allocations: 0 / 453.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1228, allocations: 7.922 kB / 453.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.1231, allocations: 297.2 kB / 453.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.1232, allocations: 11.92 kB / 453.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.1235, allocations: 83.89 kB / 453.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.1235, allocations: 7.953 kB / 453.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1235, allocations: 4 kB / 453.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1235, allocations: 4 kB / 453.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1235, allocations: 0 / 453.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.1243, allocations: 0.5428 MB / 454.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.1244, allocations: 108.7 kB / 454.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.1244, allocations: 19.94 kB / 454.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1247, allocations: 23.98 kB / 454.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1247, allocations: 8 kB / 454.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1247, allocations: 8 kB / 454.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1249, allocations: 172.5 kB / 454.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1249, allocations: 0 / 454.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.1253, allocations: 59.91 kB / 454.9 MB, free: 13.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 40 * 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.00149/0.1268, allocations: 1.261 MB / 456.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005661/0.1274, allocations: 293.9 kB / 456.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1274, allocations: 0 / 456.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.1275, allocations: 19.92 kB / 456.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009641/0.1284, allocations: 282.5 kB / 456.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.1315, allocations: 1.753 MB / 458.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1319, allocations: 0.7878 MB / 459.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.132, allocations: 34.97 kB / 459.3 MB, free: 9.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1322, allocations: 87.41 kB / 459.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1322, allocations: 0 / 459.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1515, allocations: 6.211 MB / 465.6 MB, free: 2.723 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.1517, allocations: 200.2 kB / 465.8 MB, free: 2.484 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_WorkInProgress_Tests_TestSimulatedADC.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_functions.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_records.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_01exo.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_02nls.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_03lsy.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_04set.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_05evt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_06inz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_07dly.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_08bnd.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_09alg.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_10asr.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_11mix.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_12jac.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_13opt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_14lnz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_15syn.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_15syn.c:107:157: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[20] /* sample1.noise.noise variable */ = omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample1.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_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_WorkInProgress_Tests_TestSimulatedADC_15syn.o] Error 1