Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000979/0.0009791, allocations: 94.34 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.001021, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2026/0.2026, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.0002601, allocations: 4 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1076, allocations: 63.47 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.03582/0.1435, allocations: 34.52 MB / 0.504 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2394/0.383, allocations: 8.682 MB / 0.5124 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.3845, allocations: 46.81 kB / 0.5125 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.3865, allocations: 0.6061 MB / 0.5131 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008485/0.395, allocations: 2.721 MB / 0.5157 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.4051, allocations: 3.414 MB / 0.5191 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.4089, allocations: 1.713 MB / 0.5207 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.4105, allocations: 0.7778 MB / 0.5215 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00901/0.4195, allocations: 4.183 MB / 0.5256 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.4244, allocations: 2.383 MB / 0.5279 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.4248, allocations: 57.06 kB / 0.528 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.4305, allocations: 2.746 MB / 0.5306 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.4309, allocations: 258 kB / 0.5309 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.4315, allocations: 264.1 kB / 0.5311 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.434, allocations: 1.649 MB / 0.5328 GB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.434, allocations: 4 kB / 0.5328 GB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.434, allocations: 0 / 0.5328 GB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.434, allocations: 0 / 0.5328 GB, free: 8.848 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002472/0.4365, allocations: 1.559 MB / 0.5343 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4365, allocations: 9.875 kB / 0.5343 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.4367, allocations: 136.9 kB / 0.5344 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/0.4391, allocations: 319.8 kB / 0.5347 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.4401, allocations: 0.7577 MB / 0.5355 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.4402, allocations: 59.56 kB / 0.5355 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4403, allocations: 87.2 kB / 0.5356 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.4427, allocations: 1.224 MB / 0.5368 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.4428, allocations: 1.5 kB / 0.5368 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.4429, allocations: 41.31 kB / 0.5368 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4429, allocations: 21.09 kB / 0.5369 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.4454, allocations: 1.03 MB / 0.5379 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.4504, allocations: 5.409 MB / 0.5431 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.4523, allocations: 0.6874 MB / 0.5438 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/0.4529, allocations: 1.383 MB / 0.5452 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4529, allocations: 44.28 kB / 0.5452 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005318/0.4535, allocations: 117.2 kB / 0.5453 GB, free: 384 kB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 3.126e-06/0.4535, allocations: 0 / 0.5453 GB, free: 384 kB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.00591/0.4594, allocations: 1.721 MB / 0.547 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.4595, allocations: 192.5 kB / 0.5472 GB, free: 15.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4608, allocations: 0.9605 MB / 0.5481 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.4609, allocations: 43.2 kB / 0.5482 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.4613, allocations: 0.5053 MB / 0.5487 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.4615, allocations: 223.4 kB / 0.5489 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.4616, allocations: 11.69 kB / 0.5489 GB, free: 13.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4617, allocations: 339.9 kB / 0.5492 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/0.4625, allocations: 354.3 kB / 0.5495 GB, free: 13.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/0.4635, allocations: 0.5552 MB / 0.5501 GB, free: 12.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.4643, allocations: 417.5 kB / 0.5505 GB, free: 12.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4643, allocations: 0 / 0.5505 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002417/0.4668, allocations: 1.179 MB / 0.5516 GB, free: 11.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006793/0.4674, allocations: 1.839 MB / 0.5534 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4675, allocations: 5.859 kB / 0.5534 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005935/0.4734, allocations: 0.7832 MB / 0.5542 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.4745, allocations: 250.1 kB / 0.5544 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.4757, allocations: 0.7894 MB / 0.5552 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4769, allocations: 85.3 kB / 0.5553 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.477, allocations: 65.97 kB / 0.5554 GB, free: 7.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.477, allocations: 6.656 kB / 0.5554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0031/0.4801, allocations: 0.9974 MB / 0.5563 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4802, allocations: 4.062 kB / 0.5563 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.4807, allocations: 84.86 kB / 0.5564 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4818, allocations: 268.3 kB / 0.5567 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.4837, allocations: 1.656 MB / 0.5583 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.4847, allocations: 84.91 kB / 0.5584 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.4849, allocations: 59.94 kB / 0.5584 GB, free: 5.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006478/0.4855, allocations: 327.3 kB / 0.5587 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.4858, allocations: 121.3 kB / 0.5589 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/0.49, allocations: 2.149 MB / 0.561 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.49, allocations: 8 kB / 0.561 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.49, allocations: 0 / 0.561 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.49, allocations: 7.938 kB / 0.561 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.4932, allocations: 1.834 MB / 0.5628 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4932, allocations: 3.984 kB / 0.5628 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.4937, allocations: 135.9 kB / 0.5629 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/0.4967, allocations: 0.5854 MB / 0.5635 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.4968, allocations: 27.98 kB / 0.5635 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009219/0.4977, allocations: 0.8128 MB / 0.5643 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4978, allocations: 7.938 kB / 0.5643 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.4999, allocations: 1.09 MB / 0.5654 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.5006, allocations: 319.2 kB / 0.5657 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.5008, allocations: 12 kB / 0.5657 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.5015, allocations: 71.94 kB / 0.5657 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5017, allocations: 48.5 kB / 0.5658 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.5018, allocations: 47.92 kB / 0.5658 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001043/0.5028, allocations: 0.7299 MB / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5028, allocations: 0 / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002232/0.5051, allocations: 0.7141 MB / 0.5673 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003254/0.5083, allocations: 2.262 MB / 0.5695 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.5116, allocations: 1.48 MB / 0.5709 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5116, allocations: 0 / 0.5709 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.5125, allocations: 412.7 kB / 0.5713 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.5154, allocations: 0.5132 MB / 0.5718 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/0.522, allocations: 6.112 MB / 0.5778 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.5226, allocations: 1.103 MB / 0.5788 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002251/0.5249, allocations: 0.8024 MB / 0.5796 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/0.5257, allocations: 451.2 kB / 0.5801 GB, free: 15.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5257, allocations: 0 / 0.5801 GB, free: 15.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.5876, allocations: 34.88 MB / 0.6141 GB, free: 12.57 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.5879, allocations: 281.9 kB / 0.6144 GB, free: 12.21 MB / 462.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:777:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:777:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:777:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:620:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box2(0, mmc_mk_real(data->localData[0]->realVars[123] /* V5.port_a.p variable */), mmc_mk_real(data->localData[0]->realVars[125] /* V5.port_b.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:621:220: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure5_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_V5_Medium_T__ph_f__nonlinear,tmpMeta[1]), 273.15, 593.15, 2.220446049250313e-14) - data->localData[0]->realVars[128] /* V5.state_a.T variable */; ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o] Error 1