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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 95.89 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 181.7 kB / 16.62 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08789/0.08789, allocations: 12.61 MB / 283.6 MB, free: 8.695 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006844/0.0006844, allocations: 24 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1002, allocations: 50.38 MB / 394.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.003016/0.1033, allocations: 1.884 MB / 396.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.105, allocations: 0.8117 MB / 397.6 MB, free: 92 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.1053, allocations: 11.88 kB / 397.6 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.2e-05/0.1054, allocations: 19.78 kB / 397.6 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1057, allocations: 51.8 kB / 397.7 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.1065, allocations: 191.6 kB / 397.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.1069, allocations: 191.5 kB / 398 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.1071, allocations: 115.2 kB / 398.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1072, allocations: 71.64 kB / 398.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.1074, allocations: 79.48 kB / 398.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1074, allocations: 4 kB / 398.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1075, allocations: 39.97 kB / 398.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1076, allocations: 43.77 kB / 398.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.1077, allocations: 65.56 kB / 398.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1079, allocations: 219.8 kB / 398.7 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1079, allocations: 0 / 398.7 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1079, allocations: 0 / 398.7 MB, free: 15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1079, allocations: 7.938 kB / 398.7 MB, free: 15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008786/0.1088, allocations: 0.5337 MB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1089, allocations: 16.03 kB / 399.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.109, allocations: 31.62 kB / 399.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.1093, allocations: 286 kB / 399.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1094, allocations: 16.44 kB / 399.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1094, allocations: 20 kB / 399.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1107, allocations: 0.6623 MB / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1107, allocations: 0 / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.1108, allocations: 8 kB / 400.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1108, allocations: 7.938 kB / 400.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.1112, allocations: 180.2 kB / 400.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.112, allocations: 0.5414 MB / 401 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.113, allocations: 0.5913 MB / 401.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/0.1137, allocations: 0.5896 MB / 402.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1137, allocations: 46.5 kB / 402.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.773e-06/0.1137, allocations: 0 / 402.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001068/0.1148, allocations: 0.5481 MB / 402.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.115, allocations: 220.2 kB / 403 MB, free: 10.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1152, allocations: 229 kB / 403.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.1152, allocations: 37.7 kB / 403.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.1153, allocations: 129 kB / 403.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.1154, allocations: 31.81 kB / 403.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1154, allocations: 8 kB / 403.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1155, allocations: 338.8 kB / 403.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1157, allocations: 64.83 kB / 403.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.116, allocations: 343.8 kB / 404.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1162, allocations: 123.8 kB / 404.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.1162, allocations: 4 kB / 404.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006004/0.1168, allocations: 396.7 kB / 404.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1169, allocations: 9.25 kB / 404.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.1169, allocations: 12.91 kB / 404.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.1169, allocations: 12 kB / 404.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1172, allocations: 103.8 kB / 404.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.1172, allocations: 15.94 kB / 404.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1175, allocations: 35.73 kB / 404.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.1175, allocations: 24 kB / 404.8 MB, free: 8.199 MB / 302.1 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.0001813/0.1177, allocations: 185.3 kB / 405 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/0.1183, allocations: 325.3 kB / 405.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.1189, allocations: 337.3 kB / 405.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.119, allocations: 4 kB / 405.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.119, allocations: 4 kB / 405.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.119, allocations: 3.984 kB / 405.7 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.1193, allocations: 293.2 kB / 406 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.1194, allocations: 8 kB / 406 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.1197, allocations: 87.88 kB / 406 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1197, allocations: 0 / 406 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1197, allocations: 11.95 kB / 406.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1197, allocations: 4 kB / 406.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1197, allocations: 0 / 406.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.1205, allocations: 0.5791 MB / 406.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.1205, allocations: 112.6 kB / 406.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.1206, allocations: 8 kB / 406.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1208, allocations: 39.91 kB / 406.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.1209, allocations: 4 kB / 406.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1209, allocations: 11.94 kB / 406.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.121, allocations: 172.5 kB / 407 MB, free: 5.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1211, allocations: 0 / 407 MB, free: 5.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.1215, allocations: 52 kB / 407 MB, free: 5.859 MB / 302.1 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.0001804/0.1217, allocations: 127.1 kB / 407.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1223, allocations: 297.3 kB / 407.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1223, allocations: 0 / 407.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.1223, allocations: 17.36 kB / 407.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.1231, allocations: 273.8 kB / 407.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1242, allocations: 0.5999 MB / 408.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1246, allocations: 0.7959 MB / 409.1 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1247, allocations: 35.14 kB / 409.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.1247, allocations: 27.44 kB / 409.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1247, allocations: 0 / 409.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of Templates: time 0.007733/0.1325, allocations: 3.455 MB / 412.6 MB, free: 180 kB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile Environment - environmentSimulation: make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_functions.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_functions.c 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))) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_records.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_01exo.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_02nls.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_03lsy.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_04set.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_05evt.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_06inz.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_07dly.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_08bnd.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_09alg.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_10asr.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_11mix.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_12jac.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_12jac.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_13opt.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_13opt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_14lnz.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_14lnz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_15syn.o Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_15syn.c 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); ^ 1 error generated. make: *** [: Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC_15syn.o] Error 1