Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0008949/0.0008951, allocations: 88.39 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 241.2 MB, free: 5.176 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002804, allocations: 10.97 kB / 300.9 MB, free: 5.535 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 50.43 MB / 351.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003531/0.1394, allocations: 1.52 MB / 352.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1406, allocations: 0.6315 MB / 353.5 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1408, allocations: 3.938 kB / 353.5 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1409, allocations: 15.86 kB / 353.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1411, allocations: 23.86 kB / 353.5 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.1415, allocations: 119.8 kB / 353.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1417, allocations: 123.7 kB / 353.8 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1419, allocations: 45.47 kB / 353.8 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.142, allocations: 47.77 kB / 353.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1421, allocations: 43.78 kB / 353.9 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1421, allocations: 4 kB / 353.9 MB, free: 8.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1422, allocations: 39.89 kB / 354 MB, free: 8.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.1423, allocations: 27.91 kB / 354 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.1424, allocations: 49.58 kB / 354 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1426, allocations: 139.7 kB / 354.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1426, allocations: 0 / 354.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1426, allocations: 4 kB / 354.2 MB, free: 8.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1426, allocations: 0 / 354.2 MB, free: 8.363 MB / 286.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.0008489/0.1435, allocations: 458.7 kB / 354.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.1435, allocations: 8.031 kB / 354.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/0.1436, allocations: 46.55 kB / 354.7 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.1437, allocations: 23.81 kB / 354.7 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.144, allocations: 230.7 kB / 354.9 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.144, allocations: 4.188 kB / 354.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1441, allocations: 12 kB / 354.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.1447, allocations: 348.1 kB / 355.3 MB, free: 7.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1447, allocations: 3.938 kB / 355.3 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1448, allocations: 8 kB / 355.3 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1448, allocations: 4 kB / 355.3 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.145, allocations: 95.88 kB / 355.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.1454, allocations: 349.5 kB / 355.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.146, allocations: 284.6 kB / 356 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.1462, allocations: 101.7 kB / 356.1 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.1468, allocations: 0.5895 MB / 356.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1468, allocations: 34.56 kB / 356.7 MB, free: 5.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.1468, allocations: 0 / 356.7 MB, free: 5.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005817/0.1474, allocations: 251.6 kB / 357 MB, free: 5.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.1475, allocations: 114.8 kB / 357.1 MB, free: 5.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1477, allocations: 186.5 kB / 357.3 MB, free: 4.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1478, allocations: 29.83 kB / 357.3 MB, free: 4.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1478, allocations: 104.6 kB / 357.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.1479, allocations: 23.73 kB / 357.4 MB, free: 4.711 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.1479, allocations: 7.938 kB / 357.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.148, allocations: 330.8 kB / 357.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.1481, allocations: 40.34 kB / 357.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1483, allocations: 167.4 kB / 358 MB, free: 4.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1484, allocations: 75.94 kB / 358 MB, free: 4.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1484, allocations: 3.938 kB / 358 MB, free: 4.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003077/0.1487, allocations: 217 kB / 358.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1487, allocations: 8 kB / 358.3 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1488, allocations: 4 kB / 358.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1488, allocations: 8 kB / 358.3 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1489, allocations: 44.5 kB / 358.3 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.149, allocations: 12 kB / 358.3 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1491, allocations: 15.91 kB / 358.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1491, allocations: 8 kB / 358.3 MB, free: 3.715 MB / 286.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.0001383/0.1492, allocations: 157.6 kB / 358.5 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.1495, allocations: 167.8 kB / 358.7 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.1499, allocations: 179.3 kB / 358.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1499, allocations: 4 kB / 358.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1499, allocations: 0 / 358.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1499, allocations: 0 / 358.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.1501, allocations: 233.4 kB / 359.1 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1502, allocations: 4 kB / 359.1 MB, free: 2.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1503, allocations: 43.91 kB / 359.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1503, allocations: 4 kB / 359.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1503, allocations: 3.984 kB / 359.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1503, allocations: 0 / 359.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1503, allocations: 0 / 359.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1507, allocations: 296.1 kB / 359.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.1508, allocations: 116.8 kB / 359.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1509, allocations: 12 kB / 359.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.151, allocations: 19.94 kB / 359.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.151, allocations: 4 kB / 359.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1511, allocations: 4 kB / 359.6 MB, free: 2.383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1512, allocations: 144.3 kB / 359.7 MB, free: 2.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1512, allocations: 0 / 359.7 MB, free: 2.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1515, allocations: 35.98 kB / 359.7 MB, free: 2.207 MB / 286.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.0009389/0.1524, allocations: 0.9306 MB / 360.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1528, allocations: 152.9 kB / 360.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1528, allocations: 0 / 360.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.1528, allocations: 15.92 kB / 360.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.1534, allocations: 145.8 kB / 361 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.155, allocations: 1.068 MB / 362 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1553, allocations: 0.7402 MB / 362.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.1554, allocations: 13.55 kB / 362.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.1555, allocations: 43.42 kB / 362.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1555, allocations: 3.938 kB / 362.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.1717, allocations: 3.802 MB / 366.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.172, allocations: 210.7 kB / 366.9 MB, free: 11.09 MB / 302.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.c:7: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_07dly.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_08bnd.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_09alg.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_10asr.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_11mix.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_12jac.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_13opt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_14lnz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_4_0_0_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_4_0_0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_15syn.o] Error 1