Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 97.25 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 202.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 306.7 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001514/0.1462, allocations: 0.5901 MB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.147, allocations: 247.2 kB / 359 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1472, allocations: 0 / 359 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.1472, allocations: 0 / 359 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1474, allocations: 11.92 kB / 359 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1479, allocations: 83.8 kB / 359.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.148, allocations: 23.97 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1481, allocations: 23.94 kB / 359.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1481, allocations: 11.94 kB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.1482, allocations: 19.86 kB / 359.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1482, allocations: 0 / 359.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.1483, allocations: 35.97 kB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1484, allocations: 19.91 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.1484, allocations: 41.64 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1486, allocations: 55.89 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1486, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.701e-06/0.1486, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1486, allocations: 3.938 kB / 359.4 MB, free: 12.61 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006215/0.1492, allocations: 371.3 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.1493, allocations: 16.02 kB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.1494, allocations: 34.56 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1494, allocations: 7.906 kB / 359.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1497, allocations: 202.8 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1498, allocations: 0 / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1498, allocations: 4 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.1501, allocations: 145 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1502, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1502, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1502, allocations: 11.98 kB / 360.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.1503, allocations: 20 kB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.1507, allocations: 273.6 kB / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1509, allocations: 38.58 kB / 360.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000773/0.1516, allocations: 0.5896 MB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1517, allocations: 34.55 kB / 361.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1517, allocations: 3.938 kB / 361.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002641/0.152, allocations: 166.7 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.152, allocations: 55.34 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1522, allocations: 157.3 kB / 361.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1523, allocations: 25.7 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.1523, allocations: 96.31 kB / 361.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1524, allocations: 7.906 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-06/0.1524, allocations: 4 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1526, allocations: 322.8 kB / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1526, allocations: 19.98 kB / 361.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1527, allocations: 73.94 kB / 362 MB, free: 9.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.1527, allocations: 27.98 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1527, allocations: 0 / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001602/0.1529, allocations: 109.5 kB / 362.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1529, allocations: 4 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1529, allocations: 4 kB / 362.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.153, allocations: 0 / 362.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1531, allocations: 23.92 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1531, allocations: 0 / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.1531, allocations: 7.938 kB / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1531, allocations: 8 kB / 362.2 MB, free: 9.379 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.0001222/0.1533, allocations: 143.5 kB / 362.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.1534, allocations: 65.59 kB / 362.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.1535, allocations: 90.45 kB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1536, allocations: 4 kB / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1536, allocations: 0 / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1536, allocations: 144 / 362.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1537, allocations: 181.6 kB / 362.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1537, allocations: 4 kB / 362.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1538, allocations: 7.938 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1538, allocations: 0 / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1538, allocations: 4 kB / 362.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1538, allocations: 0 / 362.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1538, allocations: 0 / 362.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1539, allocations: 101.2 kB / 362.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.154, allocations: 93 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1541, allocations: 7.938 kB / 362.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.1541, allocations: 0 / 362.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-06/0.1541, allocations: 0 / 362.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1541, allocations: 8 kB / 362.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.1542, allocations: 118.8 kB / 363 MB, free: 8.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 0 / 363 MB, free: 8.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1544, allocations: 12 kB / 363 MB, free: 8.453 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.000556/0.155, allocations: 0.6748 MB / 363.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1551, allocations: 51.92 kB / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1551, allocations: 0 / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1552, allocations: 0 / 363.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1555, allocations: 89.5 kB / 363.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1569, allocations: 1.486 MB / 365.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1573, allocations: 0.7043 MB / 366 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.1573, allocations: 12.67 kB / 366 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.1574, allocations: 23.42 kB / 366 MB, free: 5.273 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1574, allocations: 0 / 366 MB, free: 5.273 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.1714, allocations: 2.274 MB / 368.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1716, allocations: 198.6 kB / 368.5 MB, free: 2.906 MB / 302.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.c:7: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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))) ^~ = 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_records.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_04set.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.c:100:150: 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_Clocked_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(uniformNoise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.h:16:122: note: passing argument to parameter '_seedIn' here modelica_real omc_Modelica_Clocked_RealSignals_Sampler_Utilities_Internal_random(threadData_t *threadData, integer_array _seedIn, integer_array *out_seedOut); ^ 2 warnings and 1 error generated. make: *** [: Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.o] Error 1