Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 97.95 kB / 16.31 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 187.3 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.2 MB / 241.1 MB, free: 5.402 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004544, allocations: 7.031 kB / 300.8 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 50.42 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001736/0.1614, allocations: 0.58 MB / 351.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.1623, allocations: 251.2 kB / 352.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1624, allocations: 0 / 352.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.1624, allocations: 4 kB / 352.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1626, allocations: 11.94 kB / 352.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.1632, allocations: 90.91 kB / 352.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1633, allocations: 23.97 kB / 352.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1635, allocations: 11.94 kB / 352.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.1635, allocations: 19.91 kB / 352.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.1636, allocations: 23.86 kB / 352.2 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1637, allocations: 0 / 352.2 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1638, allocations: 31.97 kB / 352.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.1639, allocations: 19.92 kB / 352.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.164, allocations: 33.7 kB / 352.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1641, allocations: 63.81 kB / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1642, allocations: 0 / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.1642, allocations: 0 / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1642, allocations: 3.938 kB / 352.4 MB, free: 10.47 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.000649/0.1648, allocations: 371.1 kB / 352.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.1649, allocations: 12.03 kB / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.165, allocations: 38.5 kB / 352.8 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.165, allocations: 7.906 kB / 352.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1653, allocations: 194.8 kB / 353 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1654, allocations: 4 kB / 353 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1654, allocations: 4 kB / 353 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.1658, allocations: 156.9 kB / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1659, allocations: 3.953 kB / 353.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1659, allocations: 0 / 353.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1659, allocations: 4 kB / 353.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.166, allocations: 15.98 kB / 353.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.1665, allocations: 277.6 kB / 353.5 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.1667, allocations: 46.53 kB / 353.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.1677, allocations: 0.5779 MB / 354.1 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1678, allocations: 38.56 kB / 354.1 MB, free: 8.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 4.438e-06/0.1678, allocations: 3.984 kB / 354.1 MB, free: 8.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004153/0.1682, allocations: 170.6 kB / 354.3 MB, free: 8.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.1684, allocations: 55.41 kB / 354.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.1687, allocations: 151.9 kB / 354.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1687, allocations: 25.7 kB / 354.5 MB, free: 7.977 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.1688, allocations: 88.33 kB / 354.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1689, allocations: 15.83 kB / 354.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1689, allocations: 0 / 354.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1691, allocations: 322.8 kB / 354.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.1692, allocations: 12 kB / 354.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1693, allocations: 73.92 kB / 355 MB, free: 7.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.1694, allocations: 35.98 kB / 355 MB, free: 7.406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1694, allocations: 0 / 355 MB, free: 7.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002567/0.1697, allocations: 109.4 kB / 355.2 MB, free: 7.293 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1697, allocations: 4 kB / 355.2 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1697, allocations: 0 / 355.2 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.1697, allocations: 4 kB / 355.2 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1699, allocations: 23.92 kB / 355.2 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1699, allocations: 0 / 355.2 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.17, allocations: 8.219 kB / 355.2 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.17, allocations: 4 kB / 355.2 MB, free: 7.25 MB / 286.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.000211/0.1702, allocations: 134 kB / 355.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1704, allocations: 73.61 kB / 355.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.1706, allocations: 82.23 kB / 355.5 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1706, allocations: 4 kB / 355.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1707, allocations: 0 / 355.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1707, allocations: 0 / 355.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1709, allocations: 173.6 kB / 355.7 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.1709, allocations: 11.92 kB / 355.7 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.171, allocations: 11.94 kB / 355.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.171, allocations: 0 / 355.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.171, allocations: 3.953 kB / 355.7 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.171, allocations: 0 / 355.7 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.171, allocations: 4 kB / 355.7 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1712, allocations: 93.03 kB / 355.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.1713, allocations: 93 kB / 355.9 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.1714, allocations: 11.98 kB / 355.9 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.1714, allocations: 3.953 kB / 355.9 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-06/0.1714, allocations: 0 / 355.9 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1714, allocations: 4 kB / 355.9 MB, free: 6.449 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1716, allocations: 113.9 kB / 356 MB, free: 6.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1716, allocations: 0 / 356 MB, free: 6.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.1719, allocations: 16 kB / 356 MB, free: 6.324 MB / 286.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.0008447/0.1728, allocations: 0.6748 MB / 356.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.173, allocations: 51.92 kB / 356.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.173, allocations: 0 / 356.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.173, allocations: 0 / 356.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.1735, allocations: 86.03 kB / 356.8 MB, free: 5.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1753, allocations: 1.492 MB / 358.3 MB, free: 3.914 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.1757, allocations: 0.7082 MB / 359 MB, free: 3.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.1758, allocations: 5.094 kB / 359 MB, free: 3.172 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1758, allocations: 19.44 kB / 359 MB, free: 3.152 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1758, allocations: 0 / 359 MB, free: 3.152 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.1953, allocations: 2.278 MB / 361.3 MB, free: 1.027 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/0.1957, allocations: 196.2 kB / 361.5 MB, free: 0.7891 MB / 286.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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.c:7: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_functions.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_records.c In file included from Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_01exo.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_02nls.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_03lsy.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_04set.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_05evt.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_06inz.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_07dly.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_08bnd.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_09alg.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_10asr.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_11mix.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_12jac.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_13opt.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_14lnz.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.c:2: In file included from ./Modelica_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_15syn.o] Error 1