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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001557, allocations: 182.6 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001593/0.001592, allocations: 94.84 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1358/0.1358, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006055/0.0006055, allocations: 13.89 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09873, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002311/0.1011, allocations: 1.522 MB / 444 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1026, allocations: 0.6597 MB / 444.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.1028, allocations: 4 kB / 444.7 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.961e-05/0.1029, allocations: 11.86 kB / 444.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1031, allocations: 19.95 kB / 444.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.1038, allocations: 129.1 kB / 444.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.104, allocations: 91.78 kB / 444.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1042, allocations: 37.72 kB / 444.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1043, allocations: 51.7 kB / 445 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1044, allocations: 51.7 kB / 445 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1045, allocations: 4 kB / 445.1 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1046, allocations: 35.97 kB / 445.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.1047, allocations: 31.84 kB / 445.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1047, allocations: 45.58 kB / 445.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1049, allocations: 132.3 kB / 445.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.105, allocations: 0 / 445.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.105, allocations: 0 / 445.3 MB, free: 7.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.105, allocations: 0 / 445.3 MB, free: 7.973 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000759/0.1058, allocations: 459 kB / 445.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1058, allocations: 12.03 kB / 445.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.1059, allocations: 42.56 kB / 445.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1059, allocations: 15.81 kB / 445.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1062, allocations: 234.8 kB / 446 MB, free: 7.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1063, allocations: 8.188 kB / 446 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1063, allocations: 4 kB / 446 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.1072, allocations: 350.7 kB / 446.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1072, allocations: 0 / 446.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1073, allocations: 8 kB / 446.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1073, allocations: 0 / 446.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.1077, allocations: 103.8 kB / 446.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1082, allocations: 337.5 kB / 446.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.1089, allocations: 288.4 kB / 447.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.1096, allocations: 0.5818 MB / 447.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1096, allocations: 38.56 kB / 447.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.475e-06/0.1097, allocations: 0 / 447.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009081/0.1106, allocations: 345.5 kB / 448.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.1107, allocations: 114.8 kB / 448.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1109, allocations: 194.3 kB / 448.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1109, allocations: 33.7 kB / 448.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.111, allocations: 100.6 kB / 448.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.111, allocations: 19.8 kB / 448.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.111, allocations: 4 kB / 448.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.1111, allocations: 326.8 kB / 448.8 MB, free: 4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1113, allocations: 40.34 kB / 448.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1115, allocations: 169.8 kB / 449 MB, free: 3.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1117, allocations: 67.95 kB / 449.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1117, allocations: 4 kB / 449.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004607/0.1122, allocations: 217 kB / 449.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1122, allocations: 15.89 kB / 449.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1122, allocations: 4 kB / 449.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1123, allocations: 12.58 kB / 449.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.1125, allocations: 47.92 kB / 449.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1126, allocations: 11.88 kB / 449.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1127, allocations: 15.94 kB / 449.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.1128, allocations: 19.97 kB / 449.5 MB, free: 3.32 MB / 282.7 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.0001662/0.113, allocations: 145.4 kB / 449.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.1134, allocations: 169.4 kB / 449.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.114, allocations: 191.2 kB / 450 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.114, allocations: 4 kB / 450 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.114, allocations: 0 / 450 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.114, allocations: 7.984 kB / 450 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1143, allocations: 229.5 kB / 450.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.1143, allocations: 0 / 450.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1145, allocations: 35.97 kB / 450.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1146, allocations: 0 / 450.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1146, allocations: 0 / 450.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1146, allocations: 7.953 kB / 450.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.1146, allocations: 0 / 450.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.1152, allocations: 310.1 kB / 450.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1153, allocations: 120.9 kB / 450.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.1154, allocations: 4 kB / 450.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.1156, allocations: 15.98 kB / 450.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.1157, allocations: 3.938 kB / 450.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1157, allocations: 7.984 kB / 450.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1159, allocations: 140.4 kB / 450.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1159, allocations: 0 / 450.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.1163, allocations: 32 kB / 450.9 MB, free: 1.812 MB / 282.7 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.001179/0.1175, allocations: 1.018 MB / 451.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.118, allocations: 152.1 kB / 452 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1181, allocations: 0 / 452 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.1181, allocations: 9.188 kB / 452 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.1189, allocations: 155.7 kB / 452.2 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.1227, allocations: 3.737 MB / 455.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1232, allocations: 0.7481 MB / 456.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1233, allocations: 13.55 kB / 456.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1235, allocations: 47.42 kB / 456.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of SimCode: time 3.567e-06/0.1235, allocations: 0 / 456.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.1585, allocations: 3.804 MB / 460.5 MB, free: 7.945 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003764/0.1589, allocations: 214.3 kB / 460.7 MB, free: 7.703 MB / 298.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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_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))) ^~ = 5 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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_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); ^ 2 warnings and 1 error generated. : recipe for target 'Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o' failed make: *** [Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o] Error 1