Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009513/0.0009513, allocations: 99.69 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, 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.292/0.292, allocations: 45.9 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002712, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 63.47 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5171/0.6594, allocations: 156.4 MB / 0.623 GB, free: 8.797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.6775, allocations: 10.96 MB / 0.6337 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.679, allocations: 43.62 kB / 0.6337 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.6805, allocations: 366.1 kB / 0.634 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.6876, allocations: 1.815 MB / 0.6358 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.695, allocations: 2.492 MB / 0.6383 GB, free: 9.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.6985, allocations: 1.549 MB / 0.6398 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.6996, allocations: 0.6065 MB / 0.6404 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.7019, allocations: 0.9699 MB / 0.6413 GB, free: 5.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.7035, allocations: 0.8569 MB / 0.6421 GB, free: 5.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.7037, allocations: 52 kB / 0.6422 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005265/0.709, allocations: 2.399 MB / 0.6445 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.7095, allocations: 323.1 kB / 0.6448 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.7099, allocations: 229.2 kB / 0.6451 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.7143, allocations: 2.226 MB / 0.6472 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7143, allocations: 0 / 0.6472 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.7144, allocations: 3.938 kB / 0.6472 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.7144, allocations: 0 / 0.6472 GB, free: 15.89 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003713/0.7181, allocations: 1.562 MB / 0.6488 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7182, allocations: 8.031 kB / 0.6488 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.7184, allocations: 118.5 kB / 0.6489 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.7194, allocations: 194.6 kB / 0.6491 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.7206, allocations: 0.7071 MB / 0.6498 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.7207, allocations: 61.28 kB / 0.6498 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.7208, allocations: 59.98 kB / 0.6499 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.7227, allocations: 1.149 MB / 0.651 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.7227, allocations: 4 kB / 0.651 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.7228, allocations: 27.98 kB / 0.651 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.7229, allocations: 85.19 kB / 0.6511 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.7249, allocations: 1.172 MB / 0.6523 GB, free: 10.59 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.732, allocations: 4.37 MB / 0.6565 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.7334, allocations: 0.8025 MB / 0.6573 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.7338, allocations: 353 kB / 0.6576 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.7338, allocations: 47.06 kB / 0.6577 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006592/0.7345, allocations: 123.1 kB / 0.6578 GB, free: 4.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.615e-06/0.7345, allocations: 0 / 0.6578 GB, free: 4.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.005969/0.7405, allocations: 2.038 MB / 0.6598 GB, free: 2.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7406, allocations: 214.2 kB / 0.66 GB, free: 2.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.7419, allocations: 0.8767 MB / 0.6609 GB, free: 1.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.7421, allocations: 37.7 kB / 0.6609 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.7426, allocations: 443.8 kB / 0.6613 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.7429, allocations: 224.9 kB / 0.6615 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.7429, allocations: 16 kB / 0.6615 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.7432, allocations: 337.9 kB / 0.6619 GB, free: 324 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.744, allocations: 389.8 kB / 0.6622 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.745, allocations: 0.5975 MB / 0.6628 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009692/0.746, allocations: 486.9 kB / 0.6633 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.7461, allocations: 4 kB / 0.6633 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002977/0.749, allocations: 1.301 MB / 0.6646 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001483/0.7505, allocations: 2.013 MB / 0.6665 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.7506, allocations: 8.062 kB / 0.6665 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00483/0.7554, allocations: 0.8357 MB / 0.6674 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.7562, allocations: 163.7 kB / 0.6675 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.7577, allocations: 1.2 MB / 0.6687 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/0.7587, allocations: 55.94 kB / 0.6687 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.7588, allocations: 71.98 kB / 0.6688 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7589, allocations: 4 kB / 0.6688 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002181/0.7611, allocations: 1.106 MB / 0.6699 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.7611, allocations: 15.97 kB / 0.6699 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.7617, allocations: 172.7 kB / 0.6701 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.7624, allocations: 195.8 kB / 0.6703 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.765, allocations: 2.23 MB / 0.6724 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.7658, allocations: 55.97 kB / 0.6725 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.7659, allocations: 67.98 kB / 0.6725 GB, free: 4.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 79 * 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 prepare postOptimizeDAE: time 0.0005898/0.7665, allocations: 362.5 kB / 0.6729 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7667, allocations: 98.78 kB / 0.673 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.7701, allocations: 1.915 MB / 0.6749 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.7701, allocations: 4 kB / 0.6749 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.7702, allocations: 4 kB / 0.6749 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.7702, allocations: 3.984 kB / 0.6749 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.7735, allocations: 2.348 MB / 0.6772 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7736, allocations: 8.031 kB / 0.6772 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.7739, allocations: 87.81 kB / 0.6773 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/0.777, allocations: 0.6853 MB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.7771, allocations: 27.98 kB / 0.6779 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.7784, allocations: 1.2 MB / 0.6791 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.7784, allocations: 4 kB / 0.6791 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.7804, allocations: 1.306 MB / 0.6804 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.7807, allocations: 183.8 kB / 0.6806 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.7809, allocations: 19.95 kB / 0.6806 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.7815, allocations: 55.89 kB / 0.6806 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.7816, allocations: 56.31 kB / 0.6807 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.7817, allocations: 47.98 kB / 0.6807 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008516/0.7825, allocations: 0.6133 MB / 0.6813 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7825, allocations: 4 kB / 0.6814 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002484/0.785, allocations: 0.9756 MB / 0.6823 GB, free: 10.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (37): * Single equations (assignments): 36 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004112/0.7892, allocations: 3.305 MB / 0.6855 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.7921, allocations: 1.583 MB / 0.6871 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7921, allocations: 3.906 kB / 0.6871 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.7928, allocations: 438.9 kB / 0.6875 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.7953, allocations: 0.5267 MB / 0.688 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/0.8011, allocations: 6.203 MB / 0.6941 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.8018, allocations: 1.074 MB / 0.6951 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002573/0.8044, allocations: 1.093 MB / 0.6962 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.805, allocations: 371.3 kB / 0.6965 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of SimCode: time 2.124e-06/0.805, allocations: 4 kB / 0.6965 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3899/1.195, allocations: 39.63 MB / 0.7352 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.195, allocations: 260.4 kB / 0.7355 GB, free: 181 MB / 0.5294 GB 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_Fittings_TestJunctionIdeal.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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_Fittings_TestJunctionIdeal_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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_Fittings_TestJunctionIdeal_functions.c:205:52: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] _dy_dx = (((modelica_real)sign(_y2 - _y1))) * (1.797693134862316e+308); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:436:203: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] _aux02 = ((((6.0) * (_Delta0)) * (_y1d + _y0d - ((1.5) * (_Delta0))) - ((_y1d) * (_y0d)) - ((tmp20 * tmp20)) - ((tmp21 * tmp21))) * (((_y1d + _y0d - ((2.0) * (_Delta0)) >= 0.0)?1.0:-1.0))) * (1.797693134862316e+308); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:792:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:792:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:792:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 5 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_Fittings_TestJunctionIdeal_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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_Fittings_TestJunctionIdeal_02nls.c:451:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_real(1000.0), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:452:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:452:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:453:210: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_pipe1_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 2.220446049250313e-14) - data->localData[0]->realVars[26] /* pipe1.flowModel.states[2].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:459:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[3] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp5), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_real(1000.0), mmc_mk_modelica_array(tmp6), mmc_mk_modelica_array(tmp7), mmc_mk_modelica_array(tmp8), mmc_mk_modelica_array(tmp9), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:460:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[2] = mmc_mk_box2(0, tmpMeta[3], mmc_mk_real(data->localData[0]->realVars[7] /* junction.port_2.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:460:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[2] = mmc_mk_box2(0, tmpMeta[3], mmc_mk_real(data->localData[0]->realVars[7] /* junction.port_2.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:461:210: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure2_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_pipe2_Medium_T__h_f__nonlinear,tmpMeta[2]), 200.0, 6000.0, 2.220446049250313e-14) - data->localData[0]->realVars[48] /* pipe2.flowModel.states[1].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:886:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_real(1000.0), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:887:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:887:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:888:210: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure5_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_pipe1_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 2.220446049250313e-14) - data->localData[0]->realVars[26] /* pipe1.flowModel.states[2].T variable */; ^ 2 warnings and 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o] Error 1