Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 101 kB / 15.73 MB, free: 436 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.0009938/0.0009939, allocations: 179.9 kB / 16.62 MB, free: 6.422 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.602/1.602, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.08901/0.08901, allocations: 12.6 MB / 283.6 MB, free: 8.703 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.0006782/0.0006782, allocations: 16 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1168, allocations: 50.38 MB / 394.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003083/0.1199, allocations: 2.24 MB / 397.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1215, allocations: 0.8857 MB / 398 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1217, allocations: 7.938 kB / 398 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.265e-05/0.1218, allocations: 27.72 kB / 398 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1221, allocations: 75.73 kB / 398.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.1227, allocations: 219.5 kB / 398.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.123, allocations: 231.5 kB / 398.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.1233, allocations: 127.4 kB / 398.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1234, allocations: 95.5 kB / 398.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1236, allocations: 103.3 kB / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1236, allocations: 12 kB / 398.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1237, allocations: 39.97 kB / 398.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.1238, allocations: 51.75 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.1239, allocations: 77.52 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.1242, allocations: 275.6 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1242, allocations: 0 / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1242, allocations: 0 / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1242, allocations: 0 / 399.3 MB, free: 14.34 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001001/0.1252, allocations: 0.5884 MB / 399.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1253, allocations: 12.02 kB / 399.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1254, allocations: 43.48 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.1258, allocations: 314.7 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1258, allocations: 24.56 kB / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.1259, allocations: 32 kB / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1272, allocations: 0.7714 MB / 401.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1273, allocations: 0 / 401.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1273, allocations: 15.98 kB / 401.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1273, allocations: 8 kB / 401.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.1279, allocations: 248.9 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1288, allocations: 0.7683 MB / 402.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1299, allocations: 0.6691 MB / 402.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.1306, allocations: 0.5899 MB / 403.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.1307, allocations: 46.34 kB / 403.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.054e-06/0.1307, allocations: 4 kB / 403.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001262/0.1319, allocations: 0.636 MB / 404.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.1321, allocations: 215.8 kB / 404.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1324, allocations: 246.6 kB / 404.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1324, allocations: 33.7 kB / 404.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1325, allocations: 164.7 kB / 404.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.1326, allocations: 43.73 kB / 404.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.1326, allocations: 12 kB / 404.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1328, allocations: 350.8 kB / 405.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.133, allocations: 89.09 kB / 405.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.1334, allocations: 438.9 kB / 405.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1337, allocations: 159.9 kB / 405.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1337, allocations: 7.938 kB / 405.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007472/0.1345, allocations: 497.6 kB / 406.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1345, allocations: 16 kB / 406.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1345, allocations: 12 kB / 406.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.1345, allocations: 16 kB / 406.3 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1349, allocations: 123.8 kB / 406.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.1349, allocations: 19.94 kB / 406.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.1352, allocations: 51.67 kB / 406.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1352, allocations: 32.42 kB / 406.5 MB, free: 6.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002005/0.1354, allocations: 205.4 kB / 406.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006315/0.136, allocations: 365.8 kB / 407.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006818/0.1367, allocations: 364.7 kB / 407.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1368, allocations: 4 kB / 407.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1368, allocations: 4 kB / 407.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1368, allocations: 3.984 kB / 407.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.1372, allocations: 337.1 kB / 407.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.1372, allocations: 4 kB / 407.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.1376, allocations: 107.8 kB / 407.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1376, allocations: 8 kB / 407.9 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.1377, allocations: 15.94 kB / 407.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1377, allocations: 4 kB / 407.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1377, allocations: 3.984 kB / 407.9 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.139, allocations: 0.8422 MB / 408.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1391, allocations: 120.6 kB / 408.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.1392, allocations: 12 kB / 408.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.1395, allocations: 31.97 kB / 408.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.1395, allocations: 11.95 kB / 409 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.1396, allocations: 12.06 kB / 409 MB, free: 3.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1398, allocations: 190 kB / 409.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1398, allocations: 0 / 409.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.1403, allocations: 75.91 kB / 409.2 MB, free: 3.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * 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: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0002061/0.1405, allocations: 119.1 kB / 409.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007249/0.1412, allocations: 380.7 kB / 409.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1412, allocations: 0 / 409.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1413, allocations: 32.61 kB / 409.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.1422, allocations: 307.3 kB / 410.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1437, allocations: 0.8755 MB / 410.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1441, allocations: 0.8201 MB / 411.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1442, allocations: 35.28 kB / 411.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.1443, allocations: 31.44 kB / 411.8 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1443, allocations: 0 / 411.8 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of Templates: time 0.008144/0.1524, allocations: 4.044 MB / 415.9 MB, free: 12.92 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile Environment - environmentSimulation: make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_functions.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_functions.c Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_records.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_01exo.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_02nls.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_03lsy.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_04set.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_05evt.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_06inz.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_07dly.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_08bnd.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_09alg.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_10asr.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_11mix.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_12jac.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_13opt.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_14lnz.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects -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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_15syn.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_15syn.c Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_15syn.c:121:157: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[30] /* 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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_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.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_15syn.o] Error 1