Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 94.59 kB / 16.98 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.00132/0.00132, allocations: 201.7 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.598/1.598, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 8 kB / 306.6 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 51.49 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002439/0.1762, allocations: 1.527 MB / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1774, allocations: 0.6665 MB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1776, allocations: 7.938 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.501e-05/0.1777, allocations: 11.86 kB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1779, allocations: 27.89 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1784, allocations: 123.7 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1786, allocations: 91.78 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1788, allocations: 45.64 kB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1789, allocations: 43.83 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.179, allocations: 51.7 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.179, allocations: 4 kB / 360.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1792, allocations: 43.89 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1792, allocations: 27.89 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.1793, allocations: 53.58 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1795, allocations: 131.7 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1795, allocations: 4 kB / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1795, allocations: 0 / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1795, allocations: 0 / 360.9 MB, free: 11.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007453/0.1803, allocations: 461.6 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1803, allocations: 8.031 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1805, allocations: 31.8 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1808, allocations: 234.8 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1809, allocations: 4.188 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1809, allocations: 11.95 kB / 361.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.1816, allocations: 344.5 kB / 362 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1816, allocations: 3.938 kB / 362 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1817, allocations: 4 kB / 362 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1817, allocations: 7.984 kB / 362 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.1819, allocations: 95.89 kB / 362.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.1825, allocations: 341.5 kB / 362.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.183, allocations: 286.4 kB / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.1838, allocations: 0.5857 MB / 363.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1838, allocations: 42.56 kB / 363.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.1838, allocations: 0 / 363.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006674/0.1845, allocations: 334.6 kB / 363.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.1846, allocations: 118.8 kB / 363.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1848, allocations: 190.3 kB / 364 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1848, allocations: 29.7 kB / 364 MB, free: 7.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.1849, allocations: 104.6 kB / 364.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.185, allocations: 16.02 kB / 364.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.185, allocations: 11.94 kB / 364.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1851, allocations: 326.8 kB / 364.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.1852, allocations: 36.34 kB / 364.5 MB, free: 7.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.1854, allocations: 165.8 kB / 364.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1855, allocations: 79.94 kB / 364.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1855, allocations: 0 / 364.7 MB, free: 6.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003538/0.1859, allocations: 221.3 kB / 364.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1859, allocations: 6.344 kB / 364.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1859, allocations: 4 kB / 364.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.186, allocations: 8 kB / 364.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1861, allocations: 47.91 kB / 365 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1862, allocations: 15.89 kB / 365 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1863, allocations: 16.22 kB / 365 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1863, allocations: 12 kB / 365 MB, free: 6.469 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001705/0.1865, allocations: 149.7 kB / 365.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.1868, allocations: 165.4 kB / 365.3 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.1872, allocations: 191.3 kB / 365.5 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1872, allocations: 3.984 kB / 365.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1872, allocations: 0 / 365.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1872, allocations: 7.953 kB / 365.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.1875, allocations: 229.5 kB / 365.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.1875, allocations: 0 / 365.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1876, allocations: 35.97 kB / 365.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1877, allocations: 4 kB / 365.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1877, allocations: 0 / 365.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1877, allocations: 3.938 kB / 365.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1877, allocations: 4 kB / 365.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.1881, allocations: 309.7 kB / 366.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1882, allocations: 116.8 kB / 366.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.1883, allocations: 4 kB / 366.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1884, allocations: 23.98 kB / 366.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1885, allocations: 0 / 366.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1885, allocations: 4 kB / 366.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1886, allocations: 140.4 kB / 366.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1886, allocations: 0 / 366.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1889, allocations: 35.98 kB / 366.4 MB, free: 4.957 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0001923/0.1891, allocations: 115.1 kB / 366.5 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003599/0.1895, allocations: 153.8 kB / 366.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1895, allocations: 1.188 kB / 366.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.1896, allocations: 8 kB / 366.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.1901, allocations: 157.7 kB / 366.9 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.1908, allocations: 371 kB / 367.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1911, allocations: 0.7441 MB / 368 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.1912, allocations: 9.562 kB / 368 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1912, allocations: 23.42 kB / 368 MB, free: 3.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1912, allocations: 0 / 368 MB, free: 3.328 MB / 302.1 MB Notification: Performance of Templates: time 0.005474/0.1967, allocations: 2.093 MB / 370.1 MB, free: 1.254 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_functions.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_functions.c Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_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.SampleWithADeffects_functions.c:50:63: note: use '=' to turn this equality comparison into an assignment if((integer_array_get1(_seedOut, 1, ((modelica_integer) 3)) == ((modelica_integer) 0))) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_records.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_01exo.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_02nls.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_03lsy.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_04set.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_05evt.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_06inz.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_07dly.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_08bnd.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_09alg.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_10asr.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_11mix.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_12jac.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_12jac.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_13opt.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_13opt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_14lnz.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_14lnz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.o Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.c Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.c:100:151: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[4] /* sample1.noise.noise variable */ = omc_Modelica_Clocked_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample1.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_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); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.o] Error 1