Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="IDEAS_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.001088/0.001088, allocations: 173.9 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.8094/0.8094, allocations: 133.5 MB / 141.6 MB, free: 2.863 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.702/1.702, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001227/0.001227, allocations: 106.4 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.863e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6142, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.628, allocations: 399.4 MB / 1.024 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.629, allocations: 90.02 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.84/14.47, allocations: 2.846 GB / 3.87 GB, free: 49.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.028e-06/14.47, allocations: 0 / 3.87 GB, free: 49.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.00457/14.47, allocations: 429.4 kB / 3.871 GB, free: 49.74 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.06185/14.53, allocations: 13.84 MB / 3.884 GB, free: 44.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/14.53, allocations: 6.5 kB / 3.884 GB, free: 44.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/14.55, allocations: 1.931 MB / 3.886 GB, free: 44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0558/14.61, allocations: 19.3 MB / 3.905 GB, free: 42.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00141/14.61, allocations: 415.8 kB / 3.905 GB, free: 42.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007666/14.62, allocations: 0.783 MB / 3.906 GB, free: 42.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04176/14.66, allocations: 15.84 MB / 3.922 GB, free: 42.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05939/14.72, allocations: 16.86 MB / 3.938 GB, free: 40.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000893/14.72, allocations: 43.66 kB / 3.938 GB, free: 40.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005747/14.72, allocations: 19.56 kB / 3.938 GB, free: 40.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/14.72, allocations: 0.507 MB / 3.939 GB, free: 40.45 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.1537/14.88, allocations: 80.74 MB / 4.017 GB, free: 23.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02169/14.9, allocations: 12.29 MB / 4.029 GB, free: 22.79 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01323/14.91, allocations: 6.876 MB / 4.036 GB, free: 20.22 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.0732/14.99, allocations: 26.87 MB / 4.062 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01279/15, allocations: 5.616 MB / 4.068 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0113/15.01, allocations: 0.6272 MB / 4.069 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=772): time 5.857e-05/15.01, allocations: 0 / 4.069 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of matching and sorting (n=772): time 0.03487/15.05, allocations: 12.12 MB / 4.08 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/15.05, allocations: 158.9 kB / 4.081 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02781/15.07, allocations: 10.59 MB / 4.091 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.003647/15.08, allocations: 33.7 kB / 4.091 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01379/15.09, allocations: 6.833 MB / 4.098 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.7732/15.86, allocations: 2.622 MB / 4.1 GB, free: 78.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002465/15.87, allocations: 0 / 4.1 GB, free: 78.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001426/15.87, allocations: 0.8301 MB / 4.101 GB, free: 77.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01459/15.88, allocations: 6.194 MB / 4.107 GB, free: 77.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02085/15.9, allocations: 9.551 MB / 4.116 GB, free: 74.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02972/15.93, allocations: 10.4 MB / 4.126 GB, free: 73.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002421/15.93, allocations: 27.38 kB / 4.126 GB, free: 73.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.05532/15.99, allocations: 20.4 MB / 4.146 GB, free: 73.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0135/16, allocations: 53.05 MB / 4.198 GB, free: 34.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004786/16, allocations: 100.3 kB / 4.198 GB, free: 34.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/16.01, allocations: 3.177 MB / 4.201 GB, free: 34.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/16.03, allocations: 2.786 MB / 4.204 GB, free: 34.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/16.04, allocations: 16.2 MB / 4.22 GB, free: 25.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02022/16.06, allocations: 0.8822 MB / 4.221 GB, free: 25.67 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004321/16.07, allocations: 0.5605 MB / 4.221 GB, free: 25.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/16.07, allocations: 4.281 kB / 4.221 GB, free: 25.67 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04814/16.12, allocations: 19.21 MB / 4.24 GB, free: 25.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000519/16.12, allocations: 99.19 kB / 4.24 GB, free: 25.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008887/16.13, allocations: 3.19 MB / 4.243 GB, free: 25.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/16.14, allocations: 2.785 MB / 4.246 GB, free: 25.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/16.16, allocations: 16.2 MB / 4.262 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01609/16.17, allocations: 0.8477 MB / 4.263 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004168/16.18, allocations: 0.5598 MB / 4.263 GB, free: 32.39 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.00533/16.18, allocations: 438.6 kB / 4.264 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0262/16.21, allocations: 12.02 MB / 4.275 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005204/16.21, allocations: 1.094 MB / 4.276 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02993/16.24, allocations: 13.23 MB / 4.289 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.414e-05/16.24, allocations: 78.78 kB / 4.289 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/16.24, allocations: 2.625 kB / 4.289 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02385/16.27, allocations: 11.19 MB / 4.3 GB, free: 30.05 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.08717/16.36, allocations: 27.41 MB / 4.327 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/16.36, allocations: 1.844 kB / 4.327 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007289/16.36, allocations: 1.258 MB / 4.328 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009505/16.37, allocations: 2.927 MB / 4.331 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002625/16.38, allocations: 95.16 kB / 4.331 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/16.39, allocations: 10.33 MB / 4.341 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/16.39, allocations: 2.844 kB / 4.341 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03873/16.43, allocations: 20.25 MB / 4.361 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01443/16.44, allocations: 2.908 MB / 4.364 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006421/16.45, allocations: 31.8 kB / 4.364 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01434/16.46, allocations: 0.6346 MB / 4.365 GB, free: 19.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002765/16.47, allocations: 456.4 kB / 4.365 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001742/16.47, allocations: 327.3 kB / 4.365 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.02272/16.49, allocations: 7.893 MB / 4.373 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.32e-07/16.49, allocations: 0 / 4.373 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.05102/16.54, allocations: 8.193 MB / 4.381 GB, free: 14.71 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.9366/17.48, allocations: 23.9 MB / 4.404 GB, free: 99.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.06284/17.54, allocations: 22.97 MB / 4.427 GB, free: 98.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-05/17.54, allocations: 6.656 kB / 4.427 GB, free: 98.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/17.56, allocations: 5.558 MB / 4.432 GB, free: 98.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03592/17.59, allocations: 5.39 MB / 4.438 GB, free: 98.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09957/17.69, allocations: 32.26 MB / 4.469 GB, free: 93.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02483/17.72, allocations: 10.29 MB / 4.479 GB, free: 92.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.04201/17.76, allocations: 9.197 MB / 4.488 GB, free: 91.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0168/17.77, allocations: 6.144 MB / 4.494 GB, free: 91.84 MB / 0.8386 GB Notification: Performance of SimCode: time 1.353e-06/17.77, allocations: 0 / 4.494 GB, free: 91.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.565/19.34, allocations: 366.1 MB / 4.852 GB, free: 101 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/19.34, allocations: 167.6 kB / 4.852 GB, free: 100.8 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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from IDEAS_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_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./IDEAS_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from IDEAS_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./IDEAS_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_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_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_IDEAS_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1