Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 230.3 MB, free: 7.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 80.69 kB / 281.2 MB, free: 5.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1895/0.1895, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.043e-06, allocations: 224 / 444.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 61.92 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6542/0.7717, allocations: 215.1 MB / 0.7042 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.772, allocations: 78.25 kB / 0.7042 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.809/2.581, allocations: 0.5961 GB / 1.3 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.394e-05/2.582, allocations: 30.16 kB / 1.3 GB, free: 84.44 MB / 0.5105 GB 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.004149/2.586, allocations: 1.554 MB / 1.302 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/2.586, allocations: 18.28 kB / 1.302 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/2.589, allocations: 429.7 kB / 1.302 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/2.591, allocations: 0.9133 MB / 1.303 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/2.591, allocations: 32.38 kB / 1.303 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/2.591, allocations: 45.44 kB / 1.303 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/2.593, allocations: 0.7745 MB / 1.304 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/2.594, allocations: 1.037 MB / 1.305 GB, free: 83.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/2.594, allocations: 1.688 kB / 1.305 GB, free: 83.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/2.594, allocations: 9.594 kB / 1.305 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/2.594, allocations: 23.94 kB / 1.305 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/2.6, allocations: 5.348 MB / 1.31 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/2.6, allocations: 473.1 kB / 1.311 GB, free: 79.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/2.601, allocations: 292 kB / 1.311 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/2.601, allocations: 1.389 MB / 1.312 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/2.601, allocations: 43.25 kB / 1.312 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 3.456e-06/2.601, allocations: 0 / 1.312 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.008793/2.61, allocations: 1.579 MB / 1.314 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/2.61, allocations: 187.9 kB / 1.314 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007133/2.611, allocations: 0.6115 MB / 1.315 GB, free: 77.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/2.611, allocations: 25.7 kB / 1.315 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/2.611, allocations: 396.2 kB / 1.315 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/2.612, allocations: 222 kB / 1.315 GB, free: 77.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/2.612, allocations: 0 / 1.315 GB, free: 77.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/2.612, allocations: 338.6 kB / 1.316 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/2.612, allocations: 284 kB / 1.316 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/2.613, allocations: 495.6 kB / 1.316 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00856/2.621, allocations: 1.313 MB / 1.318 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/2.621, allocations: 0 / 1.318 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01025/2.631, allocations: 2.014 MB / 1.32 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003497/2.632, allocations: 1.837 MB / 1.322 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/2.632, allocations: 7.312 kB / 1.322 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/2.635, allocations: 456.2 kB / 1.322 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/2.636, allocations: 305.3 kB / 1.322 GB, free: 74.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/2.638, allocations: 1.015 MB / 1.323 GB, free: 74.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/2.64, allocations: 126.2 kB / 1.323 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/2.64, allocations: 164.9 kB / 1.324 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/2.64, allocations: 6.031 kB / 1.324 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007013/2.647, allocations: 1.532 MB / 1.325 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.647, allocations: 3.594 kB / 1.325 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/2.647, allocations: 77.33 kB / 1.325 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/2.648, allocations: 306.1 kB / 1.325 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/2.65, allocations: 1.578 MB / 1.327 GB, free: 73.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/2.651, allocations: 107.9 kB / 1.327 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/2.651, allocations: 127.3 kB / 1.327 GB, free: 73.05 MB / 0.5105 GB 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 () * 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.0003418/2.651, allocations: 120.8 kB / 1.327 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/2.652, allocations: 102 kB / 1.327 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/2.662, allocations: 4.013 MB / 1.331 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/2.662, allocations: 17.91 kB / 1.331 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/2.662, allocations: 0 / 1.331 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/2.662, allocations: 13.73 kB / 1.331 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/2.664, allocations: 0.8721 MB / 1.332 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/2.664, allocations: 0 / 1.332 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/2.665, allocations: 164.3 kB / 1.332 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/2.666, allocations: 312.4 kB / 1.333 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/2.666, allocations: 19.48 kB / 1.333 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/2.667, allocations: 0.9876 MB / 1.334 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/2.667, allocations: 0 / 1.334 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00353/2.671, allocations: 1.429 MB / 1.335 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/2.671, allocations: 304.2 kB / 1.335 GB, free: 71.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/2.672, allocations: 11.81 kB / 1.335 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/2.673, allocations: 62.61 kB / 1.335 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/2.673, allocations: 58.47 kB / 1.335 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/2.673, allocations: 49.27 kB / 1.335 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006983/2.673, allocations: 0.4942 MB / 1.336 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003065/2.677, allocations: 0.8577 MB / 1.337 GB, free: 71.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * Array equations: 2 * 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.002021/2.679, allocations: 0.6266 MB / 1.337 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002536/2.681, allocations: 1.43 MB / 1.339 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.681, allocations: 0 / 1.339 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/2.682, allocations: 475.2 kB / 1.339 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/2.684, allocations: 408.1 kB / 1.34 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/2.687, allocations: 1.556 MB / 1.341 GB, free: 70.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/2.689, allocations: 1.32 MB / 1.342 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/2.689, allocations: 0 / 1.342 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.04833/2.737, allocations: 31.55 MB / 1.373 GB, free: 68.5 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.c clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_functions.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_functions.c ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_functions.c:1971:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_functions.c:1971:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_functions.c:1971:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 1 warning generated. clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_records.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_records.c clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_01exo.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_01exo.c clang -fPIC -falign-functions -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_02nls.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_02nls.c ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_02nls.c:214:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box2(0, mmc_mk_real(data->localData[0]->realVars[102] /* V2._port_b._p variable */), mmc_mk_real(data->localData[0]->realVars[131] /* V5._port_b._h_outflow variable */)); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_02nls.c:215:191: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure141_Modelica_Fluid_Valves_ValveIncompressible$V5_Medium_T__ph_f__nonlinear,tmpMeta[1]), 273.15, 593.15, 1e-13) - data->localData[0]->realVars[134] /* V5._state_a._T variable */; ^ 2 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_02nls.o] Error 1