Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 97.06 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 182.4 kB / 16.62 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07455/0.07455, allocations: 12.6 MB / 283.6 MB, free: 8.695 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007038/0.0007038, allocations: 20 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1155, allocations: 50.38 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002162/0.1177, allocations: 1.513 MB / 396.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1189, allocations: 0.6635 MB / 397.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.119, allocations: 0 / 397.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.119, allocations: 7.922 kB / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1192, allocations: 27.89 kB / 397.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1197, allocations: 139.6 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1199, allocations: 83.84 kB / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.12, allocations: 41.72 kB / 397.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1201, allocations: 39.78 kB / 397.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.1202, allocations: 47.75 kB / 397.4 MB, free: 232 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1202, allocations: 4 kB / 397.5 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.1203, allocations: 43.91 kB / 397.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.1204, allocations: 27.91 kB / 397.5 MB, free: 156 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.1204, allocations: 45.64 kB / 397.6 MB, free: 104 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1206, allocations: 135.7 kB / 397.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1206, allocations: 0 / 397.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1206, allocations: 0 / 397.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1206, allocations: 0 / 397.7 MB, free: 15.97 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.0006387/0.1213, allocations: 459 kB / 398.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1213, allocations: 8.031 kB / 398.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.1214, allocations: 19.81 kB / 398.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1217, allocations: 238.7 kB / 398.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1217, allocations: 8.188 kB / 398.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1217, allocations: 15.98 kB / 398.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.1224, allocations: 339.6 kB / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1224, allocations: 0 / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1224, allocations: 4 kB / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1224, allocations: 4 kB / 398.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.1227, allocations: 99.89 kB / 398.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.123, allocations: 333.6 kB / 399.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.1235, allocations: 290.1 kB / 399.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/0.1242, allocations: 0.59 MB / 400.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1243, allocations: 42.44 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.1243, allocations: 0 / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000671/0.125, allocations: 341.6 kB / 400.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1251, allocations: 114.8 kB / 400.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1253, allocations: 194.2 kB / 400.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1253, allocations: 29.7 kB / 400.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.1254, allocations: 108.7 kB / 400.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1254, allocations: 23.73 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.1255, allocations: 4 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1256, allocations: 326.8 kB / 401.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.1257, allocations: 40.34 kB / 401.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1259, allocations: 161.8 kB / 401.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.126, allocations: 79.94 kB / 401.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.126, allocations: 0 / 401.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003091/0.1263, allocations: 213.2 kB / 401.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1263, allocations: 11.95 kB / 401.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1264, allocations: 4 kB / 401.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1264, allocations: 8 kB / 401.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1265, allocations: 39.92 kB / 401.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.1266, allocations: 12.42 kB / 401.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1267, allocations: 27.84 kB / 401.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1267, allocations: 8 kB / 401.8 MB, free: 11.36 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 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[3],sample.noise.seedState[2],sample.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.0001385/0.1268, allocations: 157.4 kB / 402 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.1271, allocations: 161.5 kB / 402.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.1275, allocations: 187.3 kB / 402.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1275, allocations: 4 kB / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1275, allocations: 0 / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1275, allocations: 3.938 kB / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.1278, allocations: 229.4 kB / 402.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1278, allocations: 4 kB / 402.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1279, allocations: 35.97 kB / 402.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1279, allocations: 7.938 kB / 402.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.128, allocations: 4 kB / 402.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.128, allocations: 3.953 kB / 402.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.128, allocations: 0 / 402.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.1284, allocations: 313.7 kB / 402.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.1285, allocations: 108.9 kB / 403 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1286, allocations: 8 kB / 403 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1287, allocations: 19.98 kB / 403 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1288, allocations: 4 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1288, allocations: 4 kB / 403 MB, free: 10.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1289, allocations: 140.4 kB / 403.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1289, allocations: 0 / 403.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1292, allocations: 32 kB / 403.2 MB, free: 9.852 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 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.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.0001723/0.1294, allocations: 115.2 kB / 403.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.1297, allocations: 161.3 kB / 403.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1297, allocations: 0 / 403.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.1298, allocations: 20 kB / 403.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.1303, allocations: 145.8 kB / 403.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.1309, allocations: 371.2 kB / 404 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1313, allocations: 0.7402 MB / 404.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1313, allocations: 13.55 kB / 404.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1314, allocations: 15.44 kB / 404.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1314, allocations: 4 kB / 404.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of Templates: time 0.005639/0.137, allocations: 2.079 MB / 406.9 MB, free: 6.141 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.makefile Environment - environmentSimulation: make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_functions.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_functions.c Modelica_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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_Synchronous_Modelica_Synchronous.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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_records.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_01exo.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_02nls.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_03lsy.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_04set.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_05evt.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_06inz.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_07dly.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_08bnd.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_09alg.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_10asr.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_11mix.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_12jac.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_12jac.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_13opt.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_13opt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_14lnz.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_14lnz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.o Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.c Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_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[4] /* sample.noise.noise variable */ = omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_functions.h:16:127: note: passing argument to parameter '_seedIn' here modelica_real omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData_t *threadData, integer_array _seedIn, integer_array *out_seedOut); ^ 1 error generated. make: *** [: Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_15syn.o] Error 1