Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.CheckValveTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.00121/0.001211, allocations: 141.2 kB / 7.616 MB, free: 1.453 MB / 5.871 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:14-570:31:writable] Warning: Treating .0158271919734802 as 0.0158271919734802. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:570:48-570:65:writable] Warning: Treating .0942738402188500 as 0.0942738402188500. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:13-571:29:writable] Warning: Treating .155071987336585 as 0.155071987336585. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:571:47-571:63:writable] Warning: Treating .188821573960182 as 0.188821573960182. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:9-572:25:writable] Warning: Treating .199773405226859 as 0.199773405226859. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:42-572:58:writable] Warning: Treating .224926465333340 as 0.224926465333340. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Math/Nonlinear.mo:572:75-572:91:writable] Warning: Treating .242611071901408 as 0.242611071901408. This is not standard Modelica and only done for compatibility with old code. Support for this feature may be removed in the future. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.253/1.253, allocations: 150.6 MB / 158.6 MB, free: 15.56 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001432/0.001432, allocations: 82.25 kB / 193.6 MB, free: 12.62 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04882/0.04882, allocations: 11.73 MB / 240.2 MB, free: 24.49 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.388e-05, allocations: 0 / 283.6 MB, free: 12.99 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2406, allocations: 37.13 MB / 320.8 MB, free: 33.7 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07504/0.3157, allocations: 52.59 MB / 373.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.3159, allocations: 64.81 kB / 373.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02715/0.3431, allocations: 9.928 MB / 383.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3431, allocations: 0 / 383.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.3432, allocations: 11.98 kB / 383.4 MB, free: 10.26 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001049/0.3442, allocations: 0.5977 MB / 384 MB, free: 9.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.3443, allocations: 12.03 kB / 384 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3445, allocations: 43.86 kB / 384 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.3451, allocations: 322.8 kB / 384.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.3451, allocations: 20 kB / 384.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.3452, allocations: 19.98 kB / 384.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004711/0.3456, allocations: 237.1 kB / 384.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.3461, allocations: 278.6 kB / 384.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.3461, allocations: 0 / 384.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3462, allocations: 4 kB / 384.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.3462, allocations: 11.98 kB / 384.9 MB, free: 8.633 MB / 266.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.3481, allocations: 1.476 MB / 386.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3487, allocations: 248 kB / 386.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3488, allocations: 100.8 kB / 386.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.3489, allocations: 81.11 kB / 386.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.349, allocations: 38.55 kB / 386.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.906e-06/0.349, allocations: 0 / 386.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002087/0.3511, allocations: 0.8379 MB / 387.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3511, allocations: 59.62 kB / 387.7 MB, free: 5.535 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.3514, allocations: 234.3 kB / 388 MB, free: 5.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3515, allocations: 29.7 kB / 388 MB, free: 5.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3516, allocations: 188.6 kB / 388.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.3517, allocations: 90.66 kB / 388.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.3517, allocations: 0 / 388.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3518, allocations: 334.8 kB / 388.6 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.352, allocations: 101.1 kB / 388.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3522, allocations: 163.6 kB / 388.8 MB, free: 4.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.3526, allocations: 136.9 kB / 389 MB, free: 4.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3526, allocations: 0 / 389 MB, free: 4.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006569/0.3533, allocations: 333.5 kB / 389.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3533, allocations: 4 kB / 389.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3533, allocations: 4 kB / 389.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3534, allocations: 4 kB / 389.3 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.3537, allocations: 88.09 kB / 389.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3537, allocations: 4 kB / 389.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3539, allocations: 19.98 kB / 389.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.3539, allocations: 15.98 kB / 389.4 MB, free: 3.766 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (checkValve.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001396/0.3541, allocations: 116.8 kB / 389.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006158/0.3547, allocations: 297.2 kB / 389.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.3548, allocations: 35.62 kB / 389.9 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/0.3555, allocations: 344.6 kB / 390.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3555, allocations: 7.953 kB / 390.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3555, allocations: 0 / 390.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3556, allocations: 7.984 kB / 390.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.3567, allocations: 0.7295 MB / 391 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3567, allocations: 0 / 391 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3571, allocations: 71.95 kB / 391 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3571, allocations: 0 / 391 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3571, allocations: 15.88 kB / 391 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3571, allocations: 0 / 391 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3571, allocations: 4 kB / 391.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.3579, allocations: 0.5387 MB / 391.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3581, allocations: 136.7 kB / 391.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.3581, allocations: 0 / 391.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3583, allocations: 20 kB / 391.7 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.3584, allocations: 23.97 kB / 391.8 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.3585, allocations: 4 kB / 391.8 MB, free: 1.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.3586, allocations: 190 kB / 392 MB, free: 1.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3586, allocations: 0 / 392 MB, free: 1.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000506/0.3592, allocations: 127.9 kB / 392.1 MB, free: 1.023 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 1 (checkValve.variableRestriction.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001465/0.3606, allocations: 1.185 MB / 393.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.361, allocations: 220.5 kB / 393.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3611, allocations: 0 / 393.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3612, allocations: 123.8 kB / 393.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.3619, allocations: 109 kB / 393.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3632, allocations: 0.6082 MB / 394.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.3636, allocations: 0.8106 MB / 395.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.3638, allocations: 53.89 kB / 395.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.364, allocations: 111.4 kB / 395.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of SimCode: time 2.7e-07/0.364, allocations: 0 / 395.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.3912, allocations: 7.277 MB / 402.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.3915, allocations: 177.3 kB / 402.7 MB, free: 6.312 MB / 282.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_FMU.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_FMU.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.c:7: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:1: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:325:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_k1 == 0.0)) ~~~~^~~~~~ OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:325:11: note: remove extraneous parentheses around the comparison to silence this warning if((_k1 == 0.0)) ~ ^ ~ OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:325:11: note: use '=' to turn this equality comparison into an assignment if((_k1 == 0.0)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_records.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_records.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_01exo.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_01exo.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_01exo.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_02nls.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_02nls.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_02nls.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_03lsy.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_03lsy.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_03lsy.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_04set.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_04set.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_04set.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_05evt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_05evt.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_05evt.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_06inz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_06inz.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_06inz.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_07dly.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_07dly.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_07dly.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_08bnd.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_08bnd.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_08bnd.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_09alg.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_09alg.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_09alg.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_10asr.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_10asr.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_10asr.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_11mix.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_11mix.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_11mix.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_12jac.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_12jac.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_12jac.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_13opt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_13opt.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_13opt.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_14lnz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_14lnz.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_14lnz.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_15syn.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_15syn.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_15syn.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_16dae.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_16dae.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_16dae.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_17inl.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_17inl.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_17inl.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_init_fmu.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_init_fmu.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_init_fmu.c:1: In file included from include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.so OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_FMU.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_records.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_01exo.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_02nls.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_03lsy.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_04set.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_05evt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_06inz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_07dly.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_08bnd.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_09alg.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_10asr.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_11mix.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_12jac.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_13opt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_14lnz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_15syn.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_16dae.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_17inl.o OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/DevelopmentTests" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Resources/Library" -lModelicaExternalC -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.o: in function `omc_Modelica_Blocks_Tables_CombiTable1Ds$checkValve$variableRestriction$MeteringTable_tableInit': OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:(.text+0x44): undefined reference to `ModelicaTables_CombiTable1D_init' /usr/bin/ld: OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.o: in function `omc_Modelica_Blocks_Tables_CombiTable1Ds$checkValve$variableRestriction$MeteringTable_tableIpo': OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:(.text+0xb5): undefined reference to `ModelicaTables_CombiTable1D_interpolate' /usr/bin/ld: OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.o: in function `boxptr_Modelica_Blocks_Tables_CombiTable1Ds$checkValve$variableRestriction$MeteringTable_tableIpo': OpenHydraulics_OpenHydraulics_DevelopmentTests_CheckValveTest_functions.c:(.text+0xcb): undefined reference to `ModelicaTables_CombiTable1D_interpolate' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1