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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002445/0.002451, allocations: 186.7 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.42/2.42, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001146, allocations: 94.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1401/0.1401, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008855/0.0008857, allocations: 14.41 kB / 392.1 MB, free: 54.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1325, allocations: 50.37 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001656/0.1342, allocations: 0.5882 MB / 443.1 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008541/0.1352, allocations: 240.2 kB / 443.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1353, allocations: 0 / 443.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.326e-05/0.1354, allocations: 3.938 kB / 443.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1356, allocations: 19.91 kB / 443.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.1362, allocations: 79.8 kB / 443.4 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1364, allocations: 23.97 kB / 443.4 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1365, allocations: 15.98 kB / 443.4 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.1365, allocations: 15.92 kB / 443.5 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.1366, allocations: 11.88 kB / 443.5 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1367, allocations: 7.984 kB / 443.5 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1368, allocations: 35.95 kB / 443.5 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.1369, allocations: 19.92 kB / 443.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.137, allocations: 37.64 kB / 443.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1372, allocations: 55.89 kB / 443.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1372, allocations: 0 / 443.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1372, allocations: 0 / 443.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1372, allocations: 4 kB / 443.6 MB, free: 9.656 MB / 282.7 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.0005925/0.1378, allocations: 371.8 kB / 444 MB, free: 9.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.1379, allocations: 8.031 kB / 444 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.138, allocations: 38.55 kB / 444 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.138, allocations: 7.906 kB / 444 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1383, allocations: 194.8 kB / 444.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1383, allocations: 7.938 kB / 444.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1384, allocations: 4 kB / 444.2 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.1388, allocations: 153 kB / 444.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1389, allocations: 0 / 444.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1389, allocations: 0 / 444.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1389, allocations: 4 kB / 444.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.139, allocations: 23.86 kB / 444.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1394, allocations: 281.7 kB / 444.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1395, allocations: 42.56 kB / 444.7 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.1406, allocations: 0.5779 MB / 445.3 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1407, allocations: 46.5 kB / 445.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.376e-06/0.1407, allocations: 0 / 445.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000385/0.1411, allocations: 162.7 kB / 445.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1412, allocations: 55.41 kB / 445.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1414, allocations: 158.1 kB / 445.7 MB, free: 7.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1414, allocations: 25.7 kB / 445.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.1415, allocations: 88.33 kB / 445.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1415, allocations: 11.89 kB / 445.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.1415, allocations: 0 / 445.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.1416, allocations: 326.8 kB / 446.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.1417, allocations: 15.98 kB / 446.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.1418, allocations: 69.92 kB / 446.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.1419, allocations: 24 kB / 446.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1419, allocations: 4 kB / 446.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002907/0.1423, allocations: 117.4 kB / 446.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1423, allocations: 7.938 kB / 446.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1423, allocations: 0 / 446.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1424, allocations: 8.219 kB / 446.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1425, allocations: 23.98 kB / 446.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1426, allocations: 0 / 446.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.1427, allocations: 7.938 kB / 446.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1427, allocations: 4 kB / 446.4 MB, free: 6.426 MB / 282.7 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.0001592/0.1429, allocations: 145.5 kB / 446.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.143, allocations: 69.5 kB / 446.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.1433, allocations: 82.39 kB / 446.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1434, allocations: 4.188 kB / 446.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1434, allocations: 4 kB / 446.7 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1434, allocations: 3.938 kB / 446.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1435, allocations: 169.6 kB / 446.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.1436, allocations: 0 / 446.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1437, allocations: 15.98 kB / 446.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1437, allocations: 0 / 446.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1438, allocations: 0 / 446.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1438, allocations: 0 / 446.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1438, allocations: 0 / 446.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.144, allocations: 101 kB / 447 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.1441, allocations: 92.94 kB / 447.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1442, allocations: 11.98 kB / 447.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.1442, allocations: 0 / 447.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-06/0.1443, allocations: 0 / 447.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1443, allocations: 4 kB / 447.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1444, allocations: 115.8 kB / 447.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1444, allocations: 0 / 447.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.1448, allocations: 20 kB / 447.3 MB, free: 5.492 MB / 282.7 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.0005176/0.1453, allocations: 0.6631 MB / 447.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1455, allocations: 51.92 kB / 448 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1455, allocations: 448 / 448 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.1455, allocations: 4 kB / 448 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.146, allocations: 86.89 kB / 448.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1471, allocations: 1.49 MB / 449.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.1473, allocations: 0.7043 MB / 450.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.1474, allocations: 8.656 kB / 450.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1474, allocations: 19.44 kB / 450.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of SimCode: time 2.515e-06/0.1474, allocations: 0 / 450.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.1714, allocations: 2.297 MB / 452.6 MB, free: 44 kB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/0.1718, allocations: 210.3 kB / 452.8 MB, free: 15.8 MB / 298.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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_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))) ^~ = 5 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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_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); ^ 2 warnings and 1 error generated. : recipe for target 'Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_15syn.o' failed make: *** [Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_15syn.o] Error 1