Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo", uses=false) 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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Storage.Validation.HeatExchangerDynamics,fileNamePrefix="AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.748/1.748, allocations: 265.1 MB / 272.6 MB, free: 8.547 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 180.8 kB / 330 MB, free: 28 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 0.5946 GB, free: 14.18 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.1 kB / 0.6998 GB, free: 2.312 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05072/0.05072, allocations: 11.9 MB / 0.8165 GB, free: 65.26 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003527/0.0003528, allocations: 21.55 kB / 0.9245 GB, free: 87.17 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.018e-05, allocations: 4 kB / 1.04 GB, free: 8.598 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2701, allocations: 110.2 MB / 1.147 GB, free: 10.27 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.741/2.011, allocations: 420.2 MB / 1.558 GB, free: 294.1 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/2.012, allocations: 85.7 kB / 1.558 GB, free: 294.1 MB / 0.9324 GB Error: Variable tanSte.m_flow_nominal in package AixLib.Fluid.Storage.Validation.HeatExchangerDynamics is not constant. Notification: Performance of FrontEnd - DAE generated: time 10.48/12.49, allocations: 2.846 GB / 4.404 GB, free: 41.17 MB / 0.9949 GB Notification: Performance of FrontEnd: time 2.555e-06/12.49, allocations: 0 / 4.404 GB, free: 41.17 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.003165/12.49, allocations: 432.3 kB / 4.405 GB, free: 40.78 MB / 0.9949 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.05068/12.55, allocations: 13.83 MB / 4.418 GB, free: 26.96 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/12.55, allocations: 8.031 kB / 4.418 GB, free: 26.95 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/12.56, allocations: 1.924 MB / 4.42 GB, free: 25 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05026/12.61, allocations: 19.3 MB / 4.439 GB, free: 5.953 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009461/12.61, allocations: 416 kB / 4.439 GB, free: 5.547 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00719/12.62, allocations: 0.7919 MB / 4.44 GB, free: 4.758 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04612/12.66, allocations: 15.84 MB / 4.456 GB, free: 4.914 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8751/13.54, allocations: 16.86 MB / 4.472 GB, free: 73.23 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006625/13.54, allocations: 36.77 kB / 4.472 GB, free: 73.23 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004608/13.55, allocations: 21.88 kB / 4.472 GB, free: 73.23 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006503/13.55, allocations: 0.5047 MB / 4.473 GB, free: 73.2 MB / 1.011 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.1737/13.72, allocations: 80.74 MB / 4.551 GB, free: 57.96 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02095/13.74, allocations: 12.29 MB / 4.563 GB, free: 57.83 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01171/13.75, allocations: 6.877 MB / 4.57 GB, free: 57.76 MB / 1.026 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.06731/13.82, allocations: 26.89 MB / 4.596 GB, free: 51.3 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01529/13.84, allocations: 5.613 MB / 4.602 GB, free: 51.09 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009916/13.85, allocations: 0.6331 MB / 4.602 GB, free: 50.85 MB / 1.026 GB Notification: Performance of pre-optimization done (n=772): time 5.478e-05/13.85, allocations: 0 / 4.602 GB, free: 50.85 MB / 1.026 GB Notification: Performance of matching and sorting (n=772): time 0.04105/13.89, allocations: 12.05 MB / 4.614 GB, free: 50.02 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/13.89, allocations: 157.4 kB / 4.614 GB, free: 49.92 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02586/13.91, allocations: 10.59 MB / 4.625 GB, free: 49.32 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.003023/13.92, allocations: 39.58 kB / 4.625 GB, free: 49.29 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0115/13.93, allocations: 6.839 MB / 4.631 GB, free: 46.48 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005419/13.93, allocations: 2.624 MB / 4.634 GB, free: 44.78 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003497/13.94, allocations: 3.312 kB / 4.634 GB, free: 44.78 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.002196/13.94, allocations: 0.8298 MB / 4.635 GB, free: 44.45 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01345/13.95, allocations: 6.194 MB / 4.641 GB, free: 44.41 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0176/13.97, allocations: 9.549 MB / 4.65 GB, free: 40.61 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02597/14, allocations: 10.39 MB / 4.66 GB, free: 40.47 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002557/14, allocations: 30.06 kB / 4.66 GB, free: 40.47 MB / 1.026 GB Notification: Performance of matching and sorting (n=1642) (initialization): time 0.04793/14.04, allocations: 20.4 MB / 4.68 GB, free: 39.57 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0233/14.07, allocations: 53.04 MB / 4.732 GB, free: 32.73 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004734/14.07, allocations: 105.5 kB / 4.732 GB, free: 32.73 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009659/14.08, allocations: 3.177 MB / 4.735 GB, free: 32.13 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/14.09, allocations: 2.782 MB / 4.738 GB, free: 32.04 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/14.11, allocations: 16.2 MB / 4.754 GB, free: 36.31 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01678/14.12, allocations: 0.8858 MB / 4.755 GB, free: 36.23 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003699/14.13, allocations: 0.5609 MB / 4.755 GB, free: 36.12 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/14.13, allocations: 5.594 kB / 4.755 GB, free: 36.12 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04776/14.17, allocations: 19.2 MB / 4.774 GB, free: 30.18 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005205/14.18, allocations: 100 kB / 4.774 GB, free: 30.18 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008915/14.18, allocations: 3.198 MB / 4.777 GB, free: 29.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/14.2, allocations: 2.789 MB / 4.78 GB, free: 29.37 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/14.22, allocations: 16.2 MB / 4.796 GB, free: 17.53 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0177/14.23, allocations: 0.8443 MB / 4.797 GB, free: 17.46 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004735/14.24, allocations: 0.5726 MB / 4.797 GB, free: 17.35 MB / 1.089 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.005193/14.24, allocations: 431.5 kB / 4.798 GB, free: 16.98 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02638/14.27, allocations: 12.02 MB / 4.809 GB, free: 12.59 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004823/14.27, allocations: 1.084 MB / 4.81 GB, free: 12.02 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03084/14.31, allocations: 13.25 MB / 4.823 GB, free: 7.293 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.85e-05/14.31, allocations: 76.56 kB / 4.823 GB, free: 7.293 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-05/14.31, allocations: 9.594 kB / 4.823 GB, free: 7.289 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02372/14.33, allocations: 11.19 MB / 4.834 GB, free: 3.332 MB / 1.089 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.07351/14.4, allocations: 27.4 MB / 4.861 GB, free: 9.016 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/14.4, allocations: 3.75 kB / 4.861 GB, free: 9.016 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006051/14.41, allocations: 1.252 MB / 4.862 GB, free: 8.918 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008843/14.42, allocations: 2.935 MB / 4.865 GB, free: 7.738 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001855/14.42, allocations: 94.67 kB / 4.865 GB, free: 7.668 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7899/15.21, allocations: 10.43 MB / 4.875 GB, free: 163.5 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/15.21, allocations: 5.562 kB / 4.875 GB, free: 163.5 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04631/15.26, allocations: 20.26 MB / 4.895 GB, free: 162.1 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01198/15.27, allocations: 2.902 MB / 4.898 GB, free: 161.9 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005842/15.27, allocations: 36.22 kB / 4.898 GB, free: 161.9 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01349/15.29, allocations: 0.6342 MB / 4.899 GB, free: 161.9 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001979/15.29, allocations: 452.8 kB / 4.899 GB, free: 161.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001936/15.29, allocations: 317.8 kB / 4.899 GB, free: 161.9 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02049/15.31, allocations: 7.895 MB / 4.907 GB, free: 161.6 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.61e-07/15.31, allocations: 0 / 4.907 GB, free: 161.6 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.05385/15.37, allocations: 8.197 MB / 4.915 GB, free: 160.9 MB / 1.104 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.04454/15.41, allocations: 22.57 MB / 4.937 GB, free: 158 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05133/15.46, allocations: 22.97 MB / 4.96 GB, free: 157.2 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-05/15.46, allocations: 6.594 kB / 4.96 GB, free: 157.2 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01434/15.48, allocations: 5.548 MB / 4.965 GB, free: 156.9 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03517/15.51, allocations: 5.396 MB / 4.97 GB, free: 156.8 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09961/15.61, allocations: 32.27 MB / 5.002 GB, free: 151.9 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/15.63, allocations: 10.28 MB / 5.012 GB, free: 150.8 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.03597/15.66, allocations: 9.202 MB / 5.021 GB, free: 150.3 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01469/15.68, allocations: 6.143 MB / 5.027 GB, free: 150.3 MB / 1.104 GB Notification: Performance of SimCode: time 1.272e-06/15.68, allocations: 0 / 5.027 GB, free: 150.3 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/17, allocations: 366.1 MB / 5.384 GB, free: 150.4 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/17, allocations: 174.3 kB / 5.385 GB, free: 150.2 MB / 1.104 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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_FMU.c In file included from AixLib_latest_AixLib_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 AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics.c:7: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_functions.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_functions.c:1: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_records.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_records.c In file included from AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_01exo.c:2: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_02nls.c:2: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_03lsy.c:2: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_04set.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_04set.c:2: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_05evt.c:2: In file included from ./AixLib_latest_AixLib_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=AixLib_latest_AixLib_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 AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c In file included from AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.c:2: In file included from ./AixLib_latest_AixLib_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); ^ AixLib_latest_AixLib_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; ^ AixLib_latest_AixLib_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: *** [: AixLib_latest_AixLib_Fluid_Storage_Validation_HeatExchangerDynamics_06inz.o] Error 1