Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics",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.001278/0.001278, allocations: 172.4 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8399/0.8399, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009687/0.0009688, allocations: 102.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.223e-05, allocations: 4 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5768, allocations: 82.29 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.645, allocations: 399.4 MB / 1.024 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.646, allocations: 89.88 kB / 1.024 GB, free: 1.84 MB / 0.6511 GB Error: Variable tanSte.m_flow_nominal in package IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 12.24/13.88, allocations: 2.846 GB / 3.87 GB, free: 49.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.765e-06/13.88, allocations: 0 / 3.87 GB, free: 49.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.002946/13.89, allocations: 433.8 kB / 3.871 GB, free: 49.56 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.05676/13.94, allocations: 13.84 MB / 3.884 GB, free: 44.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/13.94, allocations: 10.31 kB / 3.884 GB, free: 44.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/13.96, allocations: 1.925 MB / 3.886 GB, free: 43.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05472/14.01, allocations: 19.29 MB / 3.905 GB, free: 42.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/14.02, allocations: 419.3 kB / 3.905 GB, free: 42.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007044/14.02, allocations: 0.7905 MB / 3.906 GB, free: 42.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0409/14.06, allocations: 15.84 MB / 3.922 GB, free: 42.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05846/14.12, allocations: 16.86 MB / 3.938 GB, free: 40.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009386/14.12, allocations: 40.84 kB / 3.938 GB, free: 40.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005702/14.13, allocations: 21.69 kB / 3.938 GB, free: 40.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004561/14.13, allocations: 0.5048 MB / 3.939 GB, free: 40.27 MB / 0.7761 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.1574/14.29, allocations: 80.75 MB / 4.017 GB, free: 23.72 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/14.31, allocations: 12.29 MB / 4.029 GB, free: 22.48 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01134/14.32, allocations: 6.875 MB / 4.036 GB, free: 19.92 MB / 0.7917 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 evalFunc (simulation): time 0.06574/14.39, allocations: 26.88 MB / 4.062 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01232/14.4, allocations: 5.615 MB / 4.068 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01294/14.41, allocations: 0.625 MB / 4.069 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=772): time 9.129e-05/14.41, allocations: 3.516 kB / 4.069 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of matching and sorting (n=772): time 0.03161/14.44, allocations: 12.19 MB / 4.08 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/14.44, allocations: 160.4 kB / 4.081 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02569/14.47, allocations: 10.6 MB / 4.091 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.003127/14.47, allocations: 33.7 kB / 4.091 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01396/14.49, allocations: 6.83 MB / 4.098 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.7456/15.23, allocations: 2.622 MB / 4.1 GB, free: 78.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003175/15.23, allocations: 1.781 kB / 4.1 GB, free: 78.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001616/15.24, allocations: 0.8282 MB / 4.101 GB, free: 77.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01787/15.25, allocations: 6.194 MB / 4.107 GB, free: 77.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01756/15.27, allocations: 9.546 MB / 4.116 GB, free: 73.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02785/15.3, allocations: 10.39 MB / 4.127 GB, free: 73.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002488/15.3, allocations: 26.62 kB / 4.127 GB, free: 73.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.06302/15.36, allocations: 20.4 MB / 4.146 GB, free: 73.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.02203/15.38, allocations: 53.04 MB / 4.198 GB, free: 34.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005924/15.39, allocations: 97.5 kB / 4.198 GB, free: 34.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/15.4, allocations: 3.179 MB / 4.201 GB, free: 34.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01328/15.41, allocations: 2.786 MB / 4.204 GB, free: 34.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/15.43, allocations: 16.19 MB / 4.22 GB, free: 25.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01811/15.44, allocations: 0.881 MB / 4.221 GB, free: 25.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004495/15.45, allocations: 0.5642 MB / 4.221 GB, free: 25.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/15.45, allocations: 7.344 kB / 4.221 GB, free: 25.71 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05121/15.5, allocations: 19.21 MB / 4.24 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004352/15.5, allocations: 102.1 kB / 4.24 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009483/15.51, allocations: 3.193 MB / 4.243 GB, free: 25.35 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/15.52, allocations: 2.783 MB / 4.246 GB, free: 25.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/15.54, allocations: 16.2 MB / 4.262 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0175/15.56, allocations: 0.8382 MB / 4.263 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004523/15.57, allocations: 0.5607 MB / 4.263 GB, free: 32.44 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tanDyn.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanDyn.m_flow_nominal "Nominal mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: tanSte.m_flow_nominal:VARIABLE(unit = "kg/s" ) = tanSte.m_flow_nominal "Nominal mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1454): * Single equations (assignments): 1448 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.006426/15.57, allocations: 440.7 kB / 4.264 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02979/15.6, allocations: 12.02 MB / 4.275 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007227/15.61, allocations: 1.095 MB / 4.277 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03659/15.65, allocations: 13.23 MB / 4.289 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.757e-05/15.65, allocations: 77.41 kB / 4.29 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/15.65, allocations: 6.125 kB / 4.29 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02569/15.67, allocations: 11.19 MB / 4.3 GB, free: 30.1 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.07681/15.75, allocations: 27.42 MB / 4.327 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/15.75, allocations: 3.25 kB / 4.327 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007976/15.76, allocations: 1.248 MB / 4.328 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/15.77, allocations: 2.926 MB / 4.331 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002405/15.77, allocations: 96.19 kB / 4.331 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/15.78, allocations: 10.34 MB / 4.341 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/15.78, allocations: 4.953 kB / 4.342 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04058/15.82, allocations: 20.26 MB / 4.361 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01255/15.84, allocations: 2.906 MB / 4.364 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006348/15.84, allocations: 31.97 kB / 4.364 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01482/15.86, allocations: 0.6324 MB / 4.365 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003265/15.86, allocations: 461.3 kB / 4.365 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002905/15.86, allocations: 316.5 kB / 4.366 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.02199/15.89, allocations: 7.896 MB / 4.373 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.61e-07/15.89, allocations: 0 / 4.373 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0539/15.94, allocations: 8.187 MB / 4.381 GB, free: 15.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 30 (tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.vol[5].dynBal.U,tanDyn.vol[6].dynBal.U,tanDyn.vol[7].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.vol[7].dynBal.U,tanDyn.indTanHex.vol[8].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDyn.indTanHex.cap[7].T,tanDyn.indTanHex.cap[8].T,tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanSte.vol[5].dynBal.U,tanSte.vol[6].dynBal.U,tanSte.vol[7].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,mHex_flow_in.T_start,mHex_flow_in.count) * Number of discrete states: 1 (mHex_flow_in.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (609): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of Backend phase and start with SimCode phase: time 0.8809/16.82, allocations: 23.75 MB / 4.404 GB, free: 99.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.05314/16.88, allocations: 22.96 MB / 4.427 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.468e-05/16.88, allocations: 9.469 kB / 4.427 GB, free: 98.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/16.89, allocations: 5.543 MB / 4.432 GB, free: 98.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0336/16.92, allocations: 5.399 MB / 4.438 GB, free: 98.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/17.03, allocations: 32.26 MB / 4.469 GB, free: 93.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02177/17.05, allocations: 10.29 MB / 4.479 GB, free: 92.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.04425/17.09, allocations: 9.204 MB / 4.488 GB, free: 91.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01793/17.11, allocations: 6.134 MB / 4.494 GB, free: 91.66 MB / 0.8386 GB Notification: Performance of SimCode: time 1.603e-06/17.11, allocations: 0 / 4.494 GB, free: 91.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.438/18.55, allocations: 366.1 MB / 4.852 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/18.55, allocations: 169.8 kB / 4.852 GB, free: 101 MB / 0.8542 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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 -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=IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_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); ^ IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2880:45: error: use of undeclared identifier '$PtanDyn$PQHex_flow_nominal' data->simulationInfo->realParameter[88] = $PtanDyn$PQHex_flow_nominal; ^ IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:3127:46: error: use of undeclared identifier '$PtanSte$PQHex_flow_nominal' data->simulationInfo->realParameter[782] = $PtanSte$PQHex_flow_nominal; ^ 2 warnings and 2 errors generated. make: *** [: IDEAS_dev_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1