Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001015, allocations: 168.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009077/0.0009077, allocations: 90 kB / 281.6 MB, free: 5.316 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.2214/0.2214, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.429e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.724, allocations: 0.5007 GB / 0.9955 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.724, allocations: 83.95 kB / 0.9955 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/3.191, allocations: 327.7 MB / 1.316 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/3.191, allocations: 3.797 kB / 1.316 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000105/3.191, allocations: 26.47 kB / 1.316 GB, free: 73.05 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004225/3.195, allocations: 1.458 MB / 1.317 GB, free: 72.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/3.196, allocations: 17.27 kB / 1.317 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/3.197, allocations: 203.4 kB / 1.317 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/3.198, allocations: 0.8156 MB / 1.318 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/3.199, allocations: 24.81 kB / 1.318 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/3.199, allocations: 35.59 kB / 1.318 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001639/3.2, allocations: 0.9853 MB / 1.319 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/3.202, allocations: 1.043 MB / 1.32 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/3.202, allocations: 5.281 kB / 1.32 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/3.202, allocations: 6.531 kB / 1.32 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/3.202, allocations: 79.91 kB / 1.32 GB, free: 72.03 MB / 0.5105 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.006215/3.208, allocations: 4.528 MB / 1.325 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/3.209, allocations: 0.6358 MB / 1.325 GB, free: 69.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/3.21, allocations: 307.8 kB / 1.326 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/3.21, allocations: 350 kB / 1.326 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/3.21, allocations: 38.5 kB / 1.326 GB, free: 69.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006168/3.21, allocations: 100.2 kB / 1.326 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 2.916e-06/3.211, allocations: 3.609 kB / 1.326 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.0021/3.213, allocations: 0.9362 MB / 1.327 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/3.213, allocations: 212.1 kB / 1.327 GB, free: 69.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/3.213, allocations: 0.6581 MB / 1.328 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/3.213, allocations: 29.58 kB / 1.328 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/3.214, allocations: 478 kB / 1.328 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/3.214, allocations: 171 kB / 1.328 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/3.214, allocations: 1.844 kB / 1.328 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001054/3.214, allocations: 390.6 kB / 1.329 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/3.214, allocations: 365.4 kB / 1.329 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/3.215, allocations: 0.5502 MB / 1.33 GB, free: 68.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/3.217, allocations: 0.8625 MB / 1.33 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/3.217, allocations: 2.438 kB / 1.33 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003273/3.221, allocations: 1.623 MB / 1.332 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002956/3.221, allocations: 1.738 MB / 1.334 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/3.221, allocations: 9.031 kB / 1.334 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/3.224, allocations: 0.6239 MB / 1.334 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/3.225, allocations: 162 kB / 1.335 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/3.226, allocations: 1.333 MB / 1.336 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/3.227, allocations: 50.39 kB / 1.336 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/3.228, allocations: 65.61 kB / 1.336 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/3.228, allocations: 3.094 kB / 1.336 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003137/3.231, allocations: 1.345 MB / 1.337 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/3.231, allocations: 5.406 kB / 1.337 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/3.231, allocations: 152.4 kB / 1.337 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/3.232, allocations: 199.1 kB / 1.338 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/3.234, allocations: 2.091 MB / 1.34 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/3.235, allocations: 49.81 kB / 1.34 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/3.235, allocations: 66.36 kB / 1.34 GB, free: 64.47 MB / 0.5105 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.0002676/3.236, allocations: 124.1 kB / 1.34 GB, free: 64.36 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001999/3.238, allocations: 0.8972 MB / 1.341 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/3.238, allocations: 88.41 kB / 1.341 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/3.24, allocations: 1.307 MB / 1.342 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/3.24, allocations: 3.594 kB / 1.342 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/3.24, allocations: 2.75 kB / 1.342 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/3.24, allocations: 3.875 kB / 1.342 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/3.243, allocations: 1.708 MB / 1.344 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/3.243, allocations: 2.875 kB / 1.344 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/3.243, allocations: 54.33 kB / 1.344 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/3.245, allocations: 479.3 kB / 1.344 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/3.245, allocations: 8.75 kB / 1.344 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/3.247, allocations: 1.279 MB / 1.346 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.247, allocations: 2.406 kB / 1.346 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/3.248, allocations: 1.008 MB / 1.347 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/3.249, allocations: 179.1 kB / 1.347 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/3.249, allocations: 0 / 1.347 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/3.25, allocations: 40.22 kB / 1.347 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/3.25, allocations: 38.59 kB / 1.347 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/3.25, allocations: 33.91 kB / 1.347 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006539/3.25, allocations: 0.4966 MB / 1.347 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/3.25, allocations: 0 / 1.347 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003951/3.254, allocations: 1.105 MB / 1.348 GB, free: 62.66 MB / 0.5105 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.006313/3.261, allocations: 3.409 MB / 1.352 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002564/3.263, allocations: 1.423 MB / 1.353 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/3.263, allocations: 0 / 1.353 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/3.264, allocations: 329.7 kB / 1.353 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/3.266, allocations: 434.8 kB / 1.354 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/3.27, allocations: 1.595 MB / 1.355 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/3.27, allocations: 1.069 MB / 1.356 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002204/3.273, allocations: 0.9594 MB / 1.357 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/3.273, allocations: 332.6 kB / 1.358 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.495e-06/3.273, allocations: 0 / 1.358 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/3.392, allocations: 42.38 MB / 1.399 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/3.393, allocations: 190.6 kB / 1.399 GB, free: 57.9 MB / 0.5105 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_FMU.c In file included from ModelicaTest_4_0_0_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_4_0_0_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c:7: In file included from ./ModelicaTest_4_0_0_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:1: In file included from ./ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4811:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4811:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4811: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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.c In file included from ModelicaTest_4_0_0_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c:2: In file included from ./ModelicaTest_4_0_0_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:2: In file included from ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o] Error 1