Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",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.0007269/0.0007268, 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.46/1.46, allocations: 150.6 MB / 158.6 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001382/0.001382, allocations: 82.3 kB / 193.6 MB, free: 12.55 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04862/0.04862, allocations: 11.73 MB / 240.2 MB, free: 24.47 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.665e-05, allocations: 4 kB / 283.7 MB, free: 12.97 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 37.12 MB / 320.8 MB, free: 33.66 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08121/0.3407, allocations: 52.26 MB / 373 MB, free: 4.555 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3409, allocations: 63.97 kB / 373.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02523/0.3662, allocations: 8.961 MB / 382.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3662, allocations: 0 / 382.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.3663, allocations: 15.94 kB / 382.1 MB, free: 11.53 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009325/0.3672, allocations: 0.5547 MB / 382.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3673, allocations: 8.031 kB / 382.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.3674, allocations: 35.53 kB / 382.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.3678, allocations: 290.8 kB / 383 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3679, allocations: 8 kB / 383 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.3679, allocations: 12 kB / 383 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003908/0.3683, allocations: 228.8 kB / 383.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.3686, allocations: 198.4 kB / 383.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3687, allocations: 4 kB / 383.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.3687, allocations: 4 kB / 383.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3687, allocations: 4 kB / 383.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3703, allocations: 1.274 MB / 384.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.3708, allocations: 178.9 kB / 384.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.371, allocations: 81.14 kB / 384.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.3712, allocations: 174.2 kB / 385.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3712, allocations: 39.66 kB / 385.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.3712, allocations: 0 / 385.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.02241/0.3937, allocations: 2.396 MB / 387.5 MB, free: 5.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3937, allocations: 55.41 kB / 387.6 MB, free: 5.633 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 sine.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.0002992/0.394, allocations: 230.3 kB / 387.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.3941, allocations: 29.64 kB / 387.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3942, allocations: 172.3 kB / 388 MB, free: 5.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3943, allocations: 106.5 kB / 388.1 MB, free: 5.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3944, allocations: 3.938 kB / 388.1 MB, free: 5.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3945, allocations: 342.8 kB / 388.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.3948, allocations: 204 kB / 388.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.3952, allocations: 243.1 kB / 388.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.3964, allocations: 327.7 kB / 389.2 MB, free: 3.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3965, allocations: 0 / 389.2 MB, free: 3.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002211/0.3987, allocations: 0.7796 MB / 390 MB, free: 3.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3987, allocations: 8.062 kB / 390 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3987, allocations: 4 kB / 390 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3999, allocations: 0.751 MB / 390.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.4002, allocations: 59.89 kB / 390.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.4031, allocations: 1.71 MB / 392.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.4037, allocations: 48.05 kB / 392.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.4038, allocations: 15.98 kB / 392.6 MB, free: 0.5273 MB / 266.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.restriction.port_a.p:DUMMY_DER(flow=false fixed = false ) "Pressure in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (throttleValve.data.zetaLaminarKnown,throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.4041, allocations: 111.9 kB / 392.7 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002008/0.4061, allocations: 0.6981 MB / 393.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.4062, allocations: 31.62 kB / 393.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.4083, allocations: 0.8156 MB / 394.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4083, allocations: 4 kB / 394.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4083, allocations: 0 / 394.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4083, allocations: 0 / 394.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.4127, allocations: 1.649 MB / 395.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4127, allocations: 0 / 395.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.4129, allocations: 52.03 kB / 395.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.414, allocations: 0.6261 MB / 396.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.4141, allocations: 15.97 kB / 396.6 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004024/0.4181, allocations: 1.749 MB / 398.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4181, allocations: 0 / 398.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.42, allocations: 0.8024 MB / 399.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.4203, allocations: 168.6 kB / 399.3 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.4204, allocations: 4 kB / 399.3 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.4209, allocations: 47.95 kB / 399.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.421, allocations: 23.92 kB / 399.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.421, allocations: 16.03 kB / 399.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.4212, allocations: 182 kB / 399.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4212, allocations: 4 kB / 399.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008193/0.4221, allocations: 247.7 kB / 399.8 MB, free: 9.102 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002744/0.4248, allocations: 1.666 MB / 401.5 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.4263, allocations: 0.5158 MB / 402 MB, free: 6.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4263, allocations: 0 / 402 MB, free: 6.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.4287, allocations: 415.9 kB / 402.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.4294, allocations: 88.58 kB / 402.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4307, allocations: 0.5868 MB / 403.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4311, allocations: 0.7845 MB / 403.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.4313, allocations: 43.27 kB / 403.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.4314, allocations: 103.4 kB / 404 MB, free: 4.809 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4314, allocations: 0 / 404 MB, free: 4.809 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/0.4945, allocations: 13.34 MB / 417.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.4948, allocations: 166.5 kB / 417.5 MB, free: 7.312 MB / 298.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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_FMU.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_FMU.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.c:7: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:1: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2_functions.c:292:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_k1 == 0.0)) ~~~~^~~~~~ OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:292:11: note: remove extraneous parentheses around the comparison to silence this warning if((_k1 == 0.0)) ~ ^ ~ OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:292:11: note: use '=' to turn this equality comparison into an assignment if((_k1 == 0.0)) ^~ = OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:1196:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_k1 == 0.0)) ~~~~^~~~~~ OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:1196:11: note: remove extraneous parentheses around the comparison to silence this warning if((_k1 == 0.0)) ~ ^ ~ OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:1196:11: note: use '=' to turn this equality comparison into an assignment if((_k1 == 0.0)) ^~ = 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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_records.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_records.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_01exo.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_01exo.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_01exo.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_02nls.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_02nls.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_02nls.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_03lsy.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_03lsy.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_03lsy.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_04set.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_04set.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_04set.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_05evt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_05evt.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_05evt.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_06inz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_06inz.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_06inz.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_07dly.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_07dly.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_07dly.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_08bnd.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_08bnd.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_08bnd.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_09alg.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_09alg.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_09alg.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_10asr.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_10asr.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_10asr.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_11mix.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_11mix.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_11mix.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_12jac.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_12jac.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_12jac.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_13opt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_13opt.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_13opt.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_14lnz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_14lnz.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_14lnz.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_15syn.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_15syn.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_15syn.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_16dae.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_16dae.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_16dae.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_17inl.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_17inl.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_17inl.c:2: In file included from ./OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_init_fmu.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_init_fmu.c In file included from OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2.so OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_FMU.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_records.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_01exo.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_02nls.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_03lsy.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_04set.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_05evt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_06inz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_07dly.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_08bnd.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_09alg.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_10asr.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_11mix.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_12jac.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_13opt.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_14lnz.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_15syn.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_16dae.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_17inl.o OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_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_ThrottleValveTest2_functions.o: in function `omc_Modelica_Blocks_Tables_CombiTable1Ds$throttleValve$MeteringTable_tableInit': OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:(.text+0x11d5): undefined reference to `ModelicaTables_CombiTable1D_init' /usr/bin/ld: OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.o: in function `omc_Modelica_Blocks_Tables_CombiTable1Ds$throttleValve$MeteringTable_tableIpo': OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:(.text+0x1246): undefined reference to `ModelicaTables_CombiTable1D_interpolate' /usr/bin/ld: OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.o: in function `boxptr_Modelica_Blocks_Tables_CombiTable1Ds$throttleValve$MeteringTable_tableIpo': OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_functions.c:(.text+0x125c): 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