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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000988/0.000988, allocations: 95.94 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.0009437/0.0009436, allocations: 200.2 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.416/1.416, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 4 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002029/0.116, allocations: 1.531 MB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.117, allocations: 0.6743 MB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.1172, allocations: 7.938 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.1172, allocations: 3.938 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1173, allocations: 23.91 kB / 360.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.1178, allocations: 135.2 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.118, allocations: 91.73 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1181, allocations: 49.69 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1182, allocations: 39.78 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.1183, allocations: 43.77 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1183, allocations: 4 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1185, allocations: 51.89 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.1185, allocations: 27.84 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1186, allocations: 45.64 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1188, allocations: 143.7 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1188, allocations: 0 / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1188, allocations: 0 / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1188, allocations: 0 / 361.1 MB, free: 10.89 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.0006626/0.1195, allocations: 455 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1195, allocations: 12.03 kB / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1196, allocations: 42.56 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1197, allocations: 27.8 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.12, allocations: 238.7 kB / 361.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.12, allocations: 8.141 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1201, allocations: 8 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.1207, allocations: 349 kB / 362.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1207, allocations: 3.938 kB / 362.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1208, allocations: 0 / 362.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1208, allocations: 4 kB / 362.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.121, allocations: 107.8 kB / 362.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1214, allocations: 333.6 kB / 362.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.1219, allocations: 282.1 kB / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.1226, allocations: 0.5896 MB / 363.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1226, allocations: 34.84 kB / 363.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.1226, allocations: 0 / 363.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007082/0.1233, allocations: 338.6 kB / 363.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.1234, allocations: 125.3 kB / 364 MB, free: 7.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1236, allocations: 190.3 kB / 364.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1237, allocations: 29.7 kB / 364.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.1237, allocations: 100.7 kB / 364.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1238, allocations: 23.8 kB / 364.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1238, allocations: 8 kB / 364.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1239, allocations: 326.8 kB / 364.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.124, allocations: 36.34 kB / 364.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1242, allocations: 161.9 kB / 364.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1243, allocations: 75.94 kB / 364.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.1244, allocations: 3.938 kB / 364.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003437/0.1247, allocations: 221.1 kB / 365.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1247, allocations: 8 kB / 365.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.1248, allocations: 4 kB / 365.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1248, allocations: 8 kB / 365.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1249, allocations: 47.86 kB / 365.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.125, allocations: 8 kB / 365.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1251, allocations: 20.41 kB / 365.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1251, allocations: 8 kB / 365.2 MB, free: 6.238 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.000144/0.1253, allocations: 145.8 kB / 365.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.1256, allocations: 169.3 kB / 365.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.126, allocations: 183.3 kB / 365.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.126, allocations: 7.984 kB / 365.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.126, allocations: 3.953 kB / 365.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.126, allocations: 0 / 365.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1263, allocations: 229.5 kB / 365.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1263, allocations: 4 kB / 366 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.1265, allocations: 43.91 kB / 366 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1265, allocations: 4 kB / 366 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1265, allocations: 0 / 366 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1265, allocations: 3.938 kB / 366 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1265, allocations: 0 / 366 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.1269, allocations: 313.7 kB / 366.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.127, allocations: 116.8 kB / 366.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1271, allocations: 4 kB / 366.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1272, allocations: 19.98 kB / 366.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1273, allocations: 7.938 kB / 366.5 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1273, allocations: 4 kB / 366.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1274, allocations: 140.4 kB / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 0 / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.1277, allocations: 28 kB / 366.6 MB, free: 4.727 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.0009662/0.1287, allocations: 1.029 MB / 367.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.129, allocations: 148.8 kB / 367.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.129, allocations: 0 / 367.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.1291, allocations: 15.98 kB / 367.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.1296, allocations: 141.8 kB / 368 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1731/0.3027, allocations: 3.73 MB / 371.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.303, allocations: 0.7381 MB / 372.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.3031, allocations: 17.94 kB / 372.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.3032, allocations: 43.8 kB / 372.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3032, allocations: 3.828 kB / 372.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.3198, allocations: 3.799 MB / 376.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.3201, allocations: 201.8 kB / 376.5 MB, free: 18.18 MB / 302.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.c:7: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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))) ^~ = 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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); ^ 2 warnings and 1 error generated. make: *** [: Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o] Error 1