Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009306, allocations: 96.75 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.0009672/0.0009672, allocations: 179.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.53/1.53, allocations: 205.4 MB / 222.8 MB, free: 5.668 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.07593/0.07593, allocations: 12.59 MB / 283.6 MB, free: 8.707 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.0007455/0.0007455, allocations: 28 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1129, allocations: 50.37 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001411/0.1144, allocations: 0.5847 MB / 395.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.115, allocations: 239.3 kB / 395.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.1151, allocations: 7.938 kB / 395.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.1151, allocations: 3.984 kB / 395.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1152, allocations: 4 kB / 395.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1156, allocations: 87.78 kB / 395.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.18e-05/0.1157, allocations: 31.91 kB / 395.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.1158, allocations: 8 kB / 395.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.1158, allocations: 15.92 kB / 395.9 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.1159, allocations: 19.91 kB / 395.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1159, allocations: 3.938 kB / 395.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.116, allocations: 31.97 kB / 395.9 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.1161, allocations: 23.98 kB / 395.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1162, allocations: 37.58 kB / 396 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1163, allocations: 55.89 kB / 396 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1163, allocations: 0 / 396 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1163, allocations: 4 kB / 396 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1163, allocations: 0 / 396 MB, free: 1.648 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000588/0.1169, allocations: 371.3 kB / 396.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.117, allocations: 8.031 kB / 396.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.117, allocations: 7.906 kB / 396.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1174, allocations: 206.7 kB / 396.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1175, allocations: 4 kB / 396.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1175, allocations: 4 kB / 396.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.1178, allocations: 156.9 kB / 396.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1179, allocations: 0 / 396.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1179, allocations: 0 / 396.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1179, allocations: 8 kB / 396.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.118, allocations: 23.97 kB / 396.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1183, allocations: 281.5 kB / 397.1 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1185, allocations: 46.5 kB / 397.1 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006759/0.1191, allocations: 0.5857 MB / 397.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1192, allocations: 34.56 kB / 397.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1192, allocations: 0 / 397.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002709/0.1195, allocations: 166.6 kB / 397.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.1195, allocations: 55.34 kB / 398 MB, free: 15.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1197, allocations: 150.4 kB / 398.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1197, allocations: 25.7 kB / 398.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.1198, allocations: 92.33 kB / 398.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1198, allocations: 11.89 kB / 398.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1198, allocations: 0 / 398.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1199, allocations: 322.8 kB / 398.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.1199, allocations: 15.98 kB / 398.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.12, allocations: 66 kB / 398.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.1201, allocations: 35.92 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1201, allocations: 0 / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.1202, allocations: 117.6 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1203, allocations: 4 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1203, allocations: 0 / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1203, allocations: 4 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.1204, allocations: 23.92 kB / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1204, allocations: 0 / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.1204, allocations: 4 kB / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1204, allocations: 4 kB / 398.8 MB, free: 14.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001061/0.1206, allocations: 137.6 kB / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.1207, allocations: 77.44 kB / 399 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.1208, allocations: 78.41 kB / 399.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1208, allocations: 4 kB / 399.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1208, allocations: 3.984 kB / 399.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1208, allocations: 192 / 399.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.121, allocations: 169.6 kB / 399.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.121, allocations: 7.938 kB / 399.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.121, allocations: 7.984 kB / 399.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.121, allocations: 0 / 399.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1211, allocations: 8 kB / 399.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1211, allocations: 0 / 399.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1211, allocations: 0 / 399.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1212, allocations: 100.9 kB / 399.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.1213, allocations: 89 kB / 399.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1213, allocations: 8 kB / 399.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.1213, allocations: 0 / 399.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.1213, allocations: 3.984 kB / 399.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1214, allocations: 8 kB / 399.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.753e-05/0.1215, allocations: 111.8 kB / 399.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 399.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1217, allocations: 16 kB / 399.6 MB, free: 13.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001661/0.1219, allocations: 99.25 kB / 399.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.122, allocations: 55.91 kB / 399.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.122, allocations: 448 / 399.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.122, allocations: 4 kB / 399.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1224, allocations: 83.19 kB / 399.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.1227, allocations: 195 kB / 400.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1231, allocations: 0.716 MB / 400.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.442e-05/0.1231, allocations: 12.66 kB / 400.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.1231, allocations: 11.44 kB / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1231, allocations: 0 / 400.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003771/0.1269, allocations: 1.185 MB / 402 MB, free: 11.11 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile Environment - environmentSimulation: make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_functions.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_functions.c Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_records.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_01exo.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_02nls.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_03lsy.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_04set.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_05evt.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_06inz.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_07dly.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_08bnd.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_09alg.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_10asr.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_11mix.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_12jac.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_13opt.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_14lnz.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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_Elementary_RealSignals_UniformNoise -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.Elementary.RealSignals.UniformNoise_15syn.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_15syn.c Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_15syn.c:100:155: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[1] /* uniformNoise.noise variable */ = omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(uniformNoise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_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.Elementary.RealSignals.UniformNoise_15syn.o] Error 1