Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.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.WorkInProgress.Tests.TestReplaceableSamplerHold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold",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.001012/0.001012, allocations: 175.6 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222 MB, free: 13.84 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006832/0.0006831, allocations: 90.23 kB / 270.3 MB, free: 13.38 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06664/0.06664, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 16.72 kB / 392.1 MB, free: 54.8 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07717/0.07759, allocations: 50.38 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold): time 0.003373/0.08102, allocations: 2.267 MB / 444.8 MB, free: 8.574 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.08293, allocations: 0.9013 MB / 445.7 MB, free: 7.668 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.08318, allocations: 11.94 kB / 445.7 MB, free: 7.656 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.08341, allocations: 43.58 kB / 445.7 MB, free: 7.613 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.08367, allocations: 43.58 kB / 445.8 MB, free: 7.57 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.0844, allocations: 189.7 kB / 445.9 MB, free: 7.387 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.08477, allocations: 335 kB / 446.3 MB, free: 7.059 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.08506, allocations: 123.4 kB / 446.4 MB, free: 6.934 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.08522, allocations: 95.52 kB / 446.5 MB, free: 6.84 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.08539, allocations: 111.3 kB / 446.6 MB, free: 6.73 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.08544, allocations: 8 kB / 446.6 MB, free: 6.723 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.08559, allocations: 47.91 kB / 446.7 MB, free: 6.676 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.08568, allocations: 51.75 kB / 446.7 MB, free: 6.625 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.08576, allocations: 77.52 kB / 446.8 MB, free: 6.543 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.08607, allocations: 276.1 kB / 447 MB, free: 6.273 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.08609, allocations: 0 / 447 MB, free: 6.273 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.0861, allocations: 0 / 447 MB, free: 6.273 MB / 282.8 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.08611, allocations: 0 / 447 MB, free: 6.273 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001089/0.08721, allocations: 0.5884 MB / 447.6 MB, free: 5.637 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.08726, allocations: 8.031 kB / 447.6 MB, free: 5.629 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.004e-05/0.08735, allocations: 66.53 kB / 447.7 MB, free: 5.555 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.554e-05/0.08745, allocations: 47.48 kB / 447.8 MB, free: 5.508 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.08791, allocations: 314.7 kB / 448.1 MB, free: 5.16 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.08796, allocations: 20.56 kB / 448.1 MB, free: 5.141 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.08803, allocations: 32 kB / 448.1 MB, free: 5.109 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.08985, allocations: 0.7675 MB / 448.9 MB, free: 4.309 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.08989, allocations: 0 / 448.9 MB, free: 4.309 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.08993, allocations: 12 kB / 448.9 MB, free: 4.297 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.08996, allocations: 11.95 kB / 448.9 MB, free: 4.285 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.09079, allocations: 247.8 kB / 449.1 MB, free: 4.043 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009105/0.09172, allocations: 0.7837 MB / 449.9 MB, free: 3.184 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.09323, allocations: 0.642 MB / 450.6 MB, free: 2.469 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.09387, allocations: 282.9 kB / 450.8 MB, free: 2.18 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.09455, allocations: 0.5856 MB / 451.4 MB, free: 1.465 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.09459, allocations: 46.55 kB / 451.5 MB, free: 1.41 MB / 282.8 MB Notification: Performance of pre-optimization done (n=52): time 3.156e-06/0.09461, allocations: 0 / 451.5 MB, free: 1.41 MB / 282.8 MB Notification: Performance of matching and sorting (n=52): time 0.001756/0.09638, allocations: 0.5566 MB / 452 MB, free: 0.8477 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.0965, allocations: 215.8 kB / 452.2 MB, free: 0.5938 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.09684, allocations: 258.5 kB / 452.5 MB, free: 340 kB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.09689, allocations: 29.7 kB / 452.5 MB, free: 304 kB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.097, allocations: 156.7 kB / 452.7 MB, free: 144 kB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.09707, allocations: 51.61 kB / 452.7 MB, free: 92 kB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.09709, allocations: 12.03 kB / 452.7 MB, free: 80 kB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.09728, allocations: 346.8 kB / 453.1 MB, free: 15.73 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.09759, allocations: 85.08 kB / 453.2 MB, free: 15.65 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.09822, allocations: 439 kB / 453.6 MB, free: 15.05 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.09871, allocations: 155.8 kB / 453.7 MB, free: 14.9 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.09874, allocations: 4 kB / 453.7 MB, free: 14.89 MB / 298.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001051/0.0998, allocations: 0.4973 MB / 454.2 MB, free: 14.39 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.09983, allocations: 15.94 kB / 454.3 MB, free: 14.38 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.09985, allocations: 12 kB / 454.3 MB, free: 14.36 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.09989, allocations: 20 kB / 454.3 MB, free: 14.34 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.1002, allocations: 115.8 kB / 454.4 MB, free: 14.23 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.1002, allocations: 27.86 kB / 454.4 MB, free: 14.2 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1005, allocations: 55.98 kB / 454.5 MB, free: 14.15 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.1005, allocations: 35.95 kB / 454.5 MB, free: 14.11 MB / 298.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001923/0.1007, allocations: 186 kB / 454.7 MB, free: 13.92 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/0.1015, allocations: 361.8 kB / 455.1 MB, free: 13.56 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.1022, allocations: 376.7 kB / 455.4 MB, free: 13.19 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.1023, allocations: 4 kB / 455.4 MB, free: 13.18 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1023, allocations: 4 kB / 455.4 MB, free: 13.18 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.1023, allocations: 0 / 455.4 MB, free: 13.18 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.1028, allocations: 341 kB / 455.8 MB, free: 12.8 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.1028, allocations: 4 kB / 455.8 MB, free: 12.79 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.1032, allocations: 107.9 kB / 455.9 MB, free: 12.69 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.1032, allocations: 4 kB / 455.9 MB, free: 12.68 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1033, allocations: 12 kB / 455.9 MB, free: 12.67 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1033, allocations: 4 kB / 455.9 MB, free: 12.67 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1033, allocations: 0 / 455.9 MB, free: 12.67 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1046, allocations: 0.8213 MB / 456.7 MB, free: 11.82 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.1047, allocations: 112.6 kB / 456.8 MB, free: 11.69 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.1048, allocations: 15.98 kB / 456.8 MB, free: 11.68 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.105, allocations: 31.98 kB / 456.9 MB, free: 11.64 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1051, allocations: 7.984 kB / 456.9 MB, free: 11.64 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1051, allocations: 12 kB / 456.9 MB, free: 11.62 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.0001714/0.1053, allocations: 186 kB / 457.1 MB, free: 11.44 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 457.1 MB, free: 11.44 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0004694/0.1058, allocations: 72 kB / 457.1 MB, free: 11.37 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * 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: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.001582/0.1073, allocations: 1.386 MB / 458.5 MB, free: 9.957 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.000747/0.1081, allocations: 377.4 kB / 458.9 MB, free: 9.59 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1081, allocations: 0 / 458.9 MB, free: 9.59 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1082, allocations: 40.05 kB / 458.9 MB, free: 9.551 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/0.1092, allocations: 311.2 kB / 459.2 MB, free: 9.246 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.1126, allocations: 2.26 MB / 461.5 MB, free: 6.766 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.113, allocations: 0.8158 MB / 462.3 MB, free: 5.922 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1131, allocations: 35.28 kB / 462.4 MB, free: 5.887 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1132, allocations: 117.6 kB / 462.5 MB, free: 5.773 MB / 298.8 MB Notification: Performance of SimCode: time 8.82e-07/0.1133, allocations: 0 / 462.5 MB, free: 5.773 MB / 298.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.1339, allocations: 7.276 MB / 469.7 MB, free: 14.49 MB / 314.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/0.1343, allocations: 216.1 kB / 470 MB, free: 14.25 MB / 314.8 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_WorkInProgress_Tests_TestReplaceableSamplerHold.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_functions.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_records.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_01exo.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_02nls.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_03lsy.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_04set.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_05evt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_06inz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_07dly.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_08bnd.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_09alg.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_10asr.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_11mix.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_12jac.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_13opt.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_14lnz.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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 -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_WorkInProgress_Tests_TestReplaceableSamplerHold_15syn.o Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_15syn.c:121:157: error: passing 'modelica_integer' (aka 'long') to parameter of incompatible type 'integer_array' (aka 'struct base_array_s') data->localData[0]->realVars[30] /* sample1.noise.noise variable */ = omc_Modelica__Synchronous_RealSignals_Sampler_Utilities_Internal_random(threadData, data->localData[0]->integerVars[0] /* previous(sample1.noise.seedState[1]) variable */ ,&tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_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. make: *** [: Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestReplaceableSamplerHold_15syn.o] Error 1