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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 194.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 95.27 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.348e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.64/1.788, allocations: 0.5017 GB / 1.006 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.788, allocations: 89.44 kB / 1.006 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.218/3.006, allocations: 326.8 MB / 1.325 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.444e-06/3.006, allocations: 4 kB / 1.325 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000144/3.006, allocations: 22.66 kB / 1.325 GB, free: 39.63 MB / 0.5261 GB 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.005545/3.012, allocations: 1.474 MB / 1.327 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/3.012, allocations: 8.031 kB / 1.327 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/3.013, allocations: 202.5 kB / 1.327 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/3.015, allocations: 0.802 MB / 1.328 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/3.016, allocations: 24 kB / 1.328 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/3.016, allocations: 36 kB / 1.328 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001765/3.018, allocations: 0.9872 MB / 1.329 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/3.019, allocations: 1.051 MB / 1.33 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/3.019, allocations: 0 / 1.33 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/3.02, allocations: 0 / 1.33 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/3.02, allocations: 77.27 kB / 1.33 GB, free: 34.86 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/3.027, allocations: 4.532 MB / 1.334 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/3.028, allocations: 0.6478 MB / 1.335 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/3.029, allocations: 298.1 kB / 1.335 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/3.029, allocations: 344.5 kB / 1.336 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/3.029, allocations: 39 kB / 1.336 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007809/3.03, allocations: 106.9 kB / 1.336 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 4.709e-06/3.03, allocations: 0 / 1.336 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.002428/3.032, allocations: 0.9246 MB / 1.337 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/3.032, allocations: 214.1 kB / 1.337 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/3.033, allocations: 0.6524 MB / 1.338 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/3.033, allocations: 29.7 kB / 1.338 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/3.034, allocations: 486.6 kB / 1.338 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/3.034, allocations: 169.5 kB / 1.338 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/3.034, allocations: 0 / 1.338 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001484/3.034, allocations: 398.7 kB / 1.339 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/3.035, allocations: 357.5 kB / 1.339 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/3.035, allocations: 0.5486 MB / 1.339 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/3.038, allocations: 1.023 MB / 1.34 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/3.039, allocations: 3.938 kB / 1.34 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004588/3.043, allocations: 1.776 MB / 1.342 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003372/3.043, allocations: 1.747 MB / 1.344 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/3.044, allocations: 7.938 kB / 1.344 GB, free: 19.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/3.047, allocations: 0.6229 MB / 1.344 GB, free: 19.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/3.047, allocations: 163.7 kB / 1.345 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/3.049, allocations: 1.325 MB / 1.346 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/3.05, allocations: 43.92 kB / 1.346 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/3.05, allocations: 75.92 kB / 1.346 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/3.05, allocations: 8 kB / 1.346 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004202/3.055, allocations: 1.494 MB / 1.348 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/3.055, allocations: 4 kB / 1.348 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006837/3.055, allocations: 164.8 kB / 1.348 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/3.056, allocations: 195.8 kB / 1.348 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/3.058, allocations: 2.081 MB / 1.35 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/3.059, allocations: 39.95 kB / 1.35 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/3.06, allocations: 67.98 kB / 1.35 GB, free: 13.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0003985/3.06, allocations: 124.8 kB / 1.35 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002266/3.062, allocations: 0.8982 MB / 1.351 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/3.062, allocations: 90.97 kB / 1.351 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/3.065, allocations: 1.309 MB / 1.352 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/3.065, allocations: 7.938 kB / 1.352 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/3.065, allocations: 0 / 1.352 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/3.065, allocations: 7.984 kB / 1.352 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/3.068, allocations: 1.707 MB / 1.354 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/3.068, allocations: 0 / 1.354 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/3.068, allocations: 55.89 kB / 1.354 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/3.07, allocations: 480.2 kB / 1.355 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/3.07, allocations: 12 kB / 1.355 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/3.071, allocations: 1.275 MB / 1.356 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/3.071, allocations: 0 / 1.356 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/3.073, allocations: 1.013 MB / 1.357 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/3.073, allocations: 176 kB / 1.357 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/3.073, allocations: 3.938 kB / 1.357 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/3.074, allocations: 39.95 kB / 1.357 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/3.074, allocations: 36.39 kB / 1.357 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/3.074, allocations: 35.98 kB / 1.357 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006037/3.075, allocations: 0.4991 MB / 1.358 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/3.075, allocations: 0 / 1.358 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003594/3.078, allocations: 1.123 MB / 1.359 GB, free: 4.512 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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: 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.005599/3.084, allocations: 3.415 MB / 1.362 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3718/3.456, allocations: 1.413 MB / 1.363 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/3.456, allocations: 2.906 kB / 1.363 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/3.457, allocations: 328.8 kB / 1.364 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/3.461, allocations: 427.3 kB / 1.364 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/3.466, allocations: 1.596 MB / 1.366 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/3.467, allocations: 1.072 MB / 1.367 GB, free: 76.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00338/3.471, allocations: 0.9582 MB / 1.368 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/3.471, allocations: 341.3 kB / 1.368 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.883e-06/3.471, allocations: 2.531 kB / 1.368 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08385/3.555, allocations: 42.33 MB / 1.409 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/3.555, allocations: 178.6 kB / 1.409 GB, free: 75.31 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -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_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -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_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 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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -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_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:1: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_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); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4594:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4594:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4594:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -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_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: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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -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_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 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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal -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_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 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); ^ 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_integer(((modelica_integer) 1000)), 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[7] /* junction.port_2.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[7] /* junction.port_2.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:453:182: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure31_Modelica_Fluid_Pipes_StaticPipe$pipe2_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[46] /* pipe2.flowModel.states[1].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_integer(((modelica_integer) 1000)), 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[6] /* junction.port_1.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[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:461:182: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure32_Modelica_Fluid_Pipes_StaticPipe$pipe1_Medium_T__h_f__nonlinear,tmpMeta[2]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[25] /* pipe1.flowModel.states[2].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:883: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_integer(((modelica_integer) 1000)), 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:884:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[8] /* junction.port_3.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:884:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[8] /* junction.port_3.h_outflow variable */)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:885:182: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure35_Modelica_Fluid_Pipes_StaticPipe$pipe3_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[67] /* pipe3.flowModel.states[1].T variable */; ^ 2 warnings and 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o] Error 1