Running command: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_HeatExchanger_HeatExchangerSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermalSeparation): time 2.605/2.605, allocations: 260.3 MB / 272.9 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.932e-05, allocations: 4 kB / 334.9 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4055, allocations: 58.97 MB / 393.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7487/1.154, allocations: 245.7 MB / 0.6246 GB, free: 21.13 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/1.155, allocations: 59.53 kB / 0.6247 GB, free: 21.1 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ThermalSeparation 0.2/Media/WaterBasedLiquid/BaseClasses/package.mo:6:3-23:32:writable] Error: PartialWaterBased is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 1.107/2.262, allocations: 164.4 MB / 0.7852 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/2.262, allocations: 3.25 kB / 0.7852 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000167/2.262, allocations: 74.06 kB / 0.7853 GB, free: 122.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1064 * Number of variables: 1064 Notification: Performance of Generate backend data structure: time 0.01755/2.28, allocations: 3.448 MB / 0.7887 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/2.28, allocations: 6.656 kB / 0.7887 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002373/2.282, allocations: 0.5533 MB / 0.7892 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/2.284, allocations: 387.1 kB / 0.7896 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/2.29, allocations: 1.536 MB / 0.7911 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/2.29, allocations: 328.8 kB / 0.7914 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/2.292, allocations: 419.7 kB / 0.7918 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/2.309, allocations: 5.149 MB / 0.7968 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/2.309, allocations: 14.53 kB / 0.7968 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009153/2.31, allocations: 163.2 kB / 0.797 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000342/2.31, allocations: 250.8 kB / 0.7972 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/2.324, allocations: 4.129 MB / 0.8013 GB, free: 114.4 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03944/2.364, allocations: 21.01 MB / 0.8218 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006058/2.37, allocations: 2.367 MB / 0.8241 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/2.372, allocations: 0.9337 MB / 0.825 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/2.373, allocations: 34.28 kB / 0.825 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/2.373, allocations: 71.78 kB / 0.8251 GB, free: 97.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=192): time 5.551e-06/2.373, allocations: 0 / 0.8251 GB, free: 97.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=214): time 0.03702/2.41, allocations: 10.95 MB / 0.8358 GB, free: 91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00589/2.416, allocations: 4.16 MB / 0.8398 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/2.421, allocations: 2.544 MB / 0.8423 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005983/2.422, allocations: 61.7 kB / 0.8424 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/2.424, allocations: 1.884 MB / 0.8442 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/2.425, allocations: 0.7716 MB / 0.845 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/2.425, allocations: 88 kB / 0.8451 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002689/2.426, allocations: 479.7 kB / 0.8455 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/2.43, allocations: 1.457 MB / 0.8469 GB, free: 81.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005676/2.436, allocations: 3.286 MB / 0.8502 GB, free: 77.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005737/2.441, allocations: 2.14 MB / 0.8522 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.384e-05/2.442, allocations: 16 kB / 0.8523 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02021/2.462, allocations: 5.627 MB / 0.8578 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/2.462, allocations: 32 kB / 0.8578 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.831e-05/2.462, allocations: 64 kB / 0.8579 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009201/2.471, allocations: 1.233 MB / 0.8591 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/2.481, allocations: 1.02 MB / 0.8601 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/2.495, allocations: 8.738 MB / 0.8686 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007342/2.502, allocations: 307.7 kB / 0.8689 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/2.503, allocations: 226.1 kB / 0.8691 GB, free: 59.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 288 * Number of states: 0 () * Number of discrete variables: 10 (sourceLiquid2.medium.state.phase,sourceLiquid1.medium.state.phase,ccounterFlowHeatExchanger.mediumHotOut.state.phase,ccounterFlowHeatExchanger.mediumColdOut.state.phase,ccounterFlowHeatExchanger.mediumHotIn.state.phase,ccounterFlowHeatExchanger.mediumColdIn.state.phase,ccounterFlowHeatExchanger.coldLiquidTube.mediumLiquidIn.state.phase,ccounterFlowHeatExchanger.coldLiquidTube.mediumLiquid.state.phase,ccounterFlowHeatExchanger.hotLiquidTube.mediumLiquidIn.state.phase,ccounterFlowHeatExchanger.hotLiquidTube.mediumLiquid.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,62.5%) 6,(4,62.5%) 6} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001321/2.505, allocations: 397.4 kB / 0.8695 GB, free: 59.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009489/2.506, allocations: 273 kB / 0.8697 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/2.521, allocations: 3.695 MB / 0.8733 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/2.521, allocations: 24 kB / 0.8734 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/2.521, allocations: 8 kB / 0.8734 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/2.521, allocations: 15.05 kB / 0.8734 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/2.549, allocations: 7.573 MB / 0.8808 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-05/2.549, allocations: 4 kB / 0.8808 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006177/2.555, allocations: 399.6 kB / 0.8812 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/2.566, allocations: 1.369 MB / 0.8825 GB, free: 48.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007023/2.566, allocations: 55.7 kB / 0.8826 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/2.58, allocations: 9.449 MB / 0.8918 GB, free: 38.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005663/2.586, allocations: 3.845 MB / 0.8955 GB, free: 35.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/2.605, allocations: 5.974 MB / 0.9014 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/2.606, allocations: 391.6 kB / 0.9017 GB, free: 29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/2.608, allocations: 48 kB / 0.9018 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005109/2.613, allocations: 149.2 kB / 0.9019 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008333/2.614, allocations: 161.8 kB / 0.9021 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/2.614, allocations: 67.7 kB / 0.9022 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00411/2.618, allocations: 1.82 MB / 0.9039 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.62e-07/2.618, allocations: 0 / 0.9039 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008574/2.627, allocations: 1.284 MB / 0.9052 GB, free: 25.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 ($STATESET2.x,$STATESET1.x,ccounterFlowHeatExchanger.TwallHot,ccounterFlowHeatExchanger.TwallCold) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,62.5%) 4,(4,62.5%) 4} * Non-linear torn systems: 8 {1 3,4 2,1 3,4 2,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02338/2.65, allocations: 8.111 MB / 0.9131 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01567/2.666, allocations: 3.784 MB / 0.9168 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/2.666, allocations: 0 / 0.9168 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/2.677, allocations: 1.765 MB / 0.9185 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009028/2.686, allocations: 0.9476 MB / 0.9195 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/2.714, allocations: 5.969 MB / 0.9253 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003931/2.718, allocations: 2.15 MB / 0.9274 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007173/2.725, allocations: 0.9026 MB / 0.9283 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/2.729, allocations: 1.301 MB / 0.9295 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/2.729, allocations: 0 / 0.9295 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5989/3.328, allocations: 93.42 MB / 1.021 GB, free: 97.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/3.328, allocations: 207.7 kB / 1.021 GB, free: 97.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.246/9.574, allocations: 3.938 kB / 1.021 GB, free: 97.01 MB / 0.5261 GB