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.001659/0.001663, allocations: 184.2 kB / 15.81 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, 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.001627/0.001627, allocations: 94.86 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.1081/0.1081, allocations: 12.58 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005561, allocations: 14.22 kB / 392.1 MB, free: 54.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.116, allocations: 50.38 MB / 442.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.004431/0.1205, allocations: 1.888 MB / 444.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.1235, allocations: 0.8078 MB / 445.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.124, allocations: 7.938 kB / 445.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1241, allocations: 15.8 kB / 445.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1245, allocations: 47.8 kB / 445.2 MB, free: 7.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1261, allocations: 206.4 kB / 445.4 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007207/0.1269, allocations: 187.6 kB / 445.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.1273, allocations: 111.1 kB / 445.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.1276, allocations: 79.61 kB / 445.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1279, allocations: 79.48 kB / 445.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.1279, allocations: 8 kB / 445.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1282, allocations: 35.97 kB / 445.9 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1283, allocations: 43.77 kB / 446 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1284, allocations: 65.58 kB / 446 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1289, allocations: 222.3 kB / 446.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1289, allocations: 0 / 446.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.129, allocations: 0 / 446.3 MB, free: 6.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.129, allocations: 0 / 446.3 MB, free: 6.973 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.001533/0.1305, allocations: 0.5385 MB / 446.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.1306, allocations: 11.97 kB / 446.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.1308, allocations: 54.55 kB / 446.9 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.1309, allocations: 35.58 kB / 446.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.1317, allocations: 297.9 kB / 447.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.1317, allocations: 12.44 kB / 447.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.1318, allocations: 20 kB / 447.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.1346, allocations: 0.6545 MB / 447.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/0.1347, allocations: 0 / 447.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.1348, allocations: 8 kB / 447.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.1348, allocations: 4 kB / 447.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.136, allocations: 188.1 kB / 448.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1372, allocations: 0.5337 MB / 448.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.1394, allocations: 0.587 MB / 449.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.1407, allocations: 0.5856 MB / 449.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.1408, allocations: 42.5 kB / 449.8 MB, free: 3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 6.222e-06/0.1408, allocations: 0 / 449.8 MB, free: 3 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.002614/0.1434, allocations: 0.5522 MB / 450.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.1436, allocations: 220 kB / 450.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.1441, allocations: 233 kB / 450.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.1442, allocations: 29.7 kB / 450.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1444, allocations: 137 kB / 451 MB, free: 1.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.1445, allocations: 31.94 kB / 451 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1445, allocations: 8 kB / 451 MB, free: 1.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1446, allocations: 338.8 kB / 451.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.1449, allocations: 64.83 kB / 451.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.1455, allocations: 348 kB / 451.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.1459, allocations: 123.8 kB / 451.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.146, allocations: 4.516 kB / 451.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001364/0.1473, allocations: 397.4 kB / 452.3 MB, free: 328 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.1474, allocations: 8 kB / 452.3 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.1475, allocations: 8 kB / 452.3 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.229e-05/0.1475, allocations: 16 kB / 452.3 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.1482, allocations: 91.83 kB / 452.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-05/0.1483, allocations: 23.91 kB / 452.4 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.1489, allocations: 35.75 kB / 452.4 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.149, allocations: 28.22 kB / 452.5 MB, free: 116 kB / 282.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.0004914/0.1495, allocations: 193.2 kB / 452.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/0.1512, allocations: 325.1 kB / 453 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.1528, allocations: 337.3 kB / 453.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.1529, allocations: 11.88 kB / 453.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1529, allocations: 0 / 453.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.153, allocations: 7.984 kB / 453.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008877/0.1539, allocations: 293.2 kB / 453.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/0.154, allocations: 3.984 kB / 453.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.1548, allocations: 83.89 kB / 453.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/0.1549, allocations: 4 kB / 453.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.1549, allocations: 15.95 kB / 453.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.155, allocations: 0 / 453.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.155, allocations: 4 kB / 453.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.157, allocations: 0.5752 MB / 454.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.1572, allocations: 108.7 kB / 454.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1573, allocations: 15.98 kB / 454.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.1579, allocations: 23.98 kB / 454.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.136e-05/0.158, allocations: 4 kB / 454.4 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.1581, allocations: 12 kB / 454.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003949/0.1585, allocations: 172.5 kB / 454.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.1585, allocations: 0 / 454.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001124/0.1597, allocations: 59.91 kB / 454.7 MB, free: 13.77 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.003803/0.1635, allocations: 1.508 MB / 456.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.1651, allocations: 298.4 kB / 456.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.1652, allocations: 0 / 456.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1653, allocations: 19.92 kB / 456.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.1675, allocations: 274.3 kB / 456.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.178, allocations: 8.01 MB / 464.8 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.1788, allocations: 0.7917 MB / 465.6 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.1791, allocations: 30.97 kB / 465.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.1794, allocations: 91.41 kB / 465.7 MB, free: 2.449 MB / 298.7 MB Notification: Performance of SimCode: time 1.482e-06/0.1794, allocations: 0 / 465.7 MB, free: 2.449 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.217, allocations: 6.24 MB / 471.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/0.2174, allocations: 198.2 kB / 472.1 MB, free: 11.96 MB / 314.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:40:63: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((integer_array_get1(_seedOut, 1, ((modelica_integer) 1)) == ((modelica_integer) 0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:40:63: note: remove extraneous parentheses around the comparison to silence this warning if((integer_array_get1(_seedOut, 1, ((modelica_integer) 1)) == ((modelica_integer) 0))) ~ ^ ~ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:40:63: note: use '=' to turn this equality comparison into an assignment if((integer_array_get1(_seedOut, 1, ((modelica_integer) 1)) == ((modelica_integer) 0))) ^~ = Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:45:63: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((integer_array_get1(_seedOut, 1, ((modelica_integer) 2)) == ((modelica_integer) 0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:45:63: note: remove extraneous parentheses around the comparison to silence this warning if((integer_array_get1(_seedOut, 1, ((modelica_integer) 2)) == ((modelica_integer) 0))) ~ ^ ~ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:45:63: note: use '=' to turn this equality comparison into an assignment if((integer_array_get1(_seedOut, 1, ((modelica_integer) 2)) == ((modelica_integer) 0))) ^~ = Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:50:63: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((integer_array_get1(_seedOut, 1, ((modelica_integer) 3)) == ((modelica_integer) 0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:50:63: note: remove extraneous parentheses around the comparison to silence this warning if((integer_array_get1(_seedOut, 1, ((modelica_integer) 3)) == ((modelica_integer) 0))) ~ ^ ~ Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_functions.c:50:63: note: use '=' to turn this equality comparison into an assignment if((integer_array_get1(_seedOut, 1, ((modelica_integer) 3)) == ((modelica_integer) 0))) ^~ = 5 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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. : recipe for target 'Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_15syn.o' failed make: *** [Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_15syn.o] Error 1