Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.656/2.656, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.858e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4883, allocations: 61.86 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.787/9.275, allocations: 2.746 GB / 3.146 GB, free: 134 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/9.276, allocations: 73.62 kB / 3.146 GB, free: 134 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Media.mo:950:7-950:66:writable] Error: Medium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.3122/9.588, allocations: 65.83 MB / 3.21 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/9.588, allocations: 3.938 kB / 3.21 GB, free: 98.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.442e-06/9.588, allocations: 0 / 3.21 GB, free: 98.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002699/9.591, allocations: 0.563 MB / 3.211 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/9.591, allocations: 15.97 kB / 3.211 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/9.591, allocations: 30.56 kB / 3.211 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/9.591, allocations: 7.984 kB / 3.211 GB, free: 97.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/9.591, allocations: 170.6 kB / 3.211 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/9.591, allocations: 3.953 kB / 3.211 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/9.591, allocations: 4 kB / 3.211 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/9.592, allocations: 89.48 kB / 3.211 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/9.592, allocations: 0 / 3.211 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/9.592, allocations: 3.984 kB / 3.211 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/9.592, allocations: 4 kB / 3.211 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/9.592, allocations: 53.83 kB / 3.211 GB, free: 97.03 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.0004504/9.592, allocations: 367.8 kB / 3.211 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/9.593, allocations: 61.55 kB / 3.211 GB, free: 96.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/9.593, allocations: 24.38 kB / 3.211 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/9.611, allocations: 4.568 MB / 3.216 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/9.611, allocations: 30.56 kB / 3.216 GB, free: 91.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/9.611, allocations: 0 / 3.216 GB, free: 91.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0005051/9.612, allocations: 104.5 kB / 3.216 GB, free: 91.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/9.612, allocations: 51.41 kB / 3.216 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/9.612, allocations: 92.75 kB / 3.216 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/9.612, allocations: 25.7 kB / 3.216 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/9.612, allocations: 162.5 kB / 3.216 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/9.612, allocations: 15.5 kB / 3.216 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/9.612, allocations: 0 / 3.216 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/9.612, allocations: 318.8 kB / 3.217 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/9.612, allocations: 7.688 kB / 3.217 GB, free: 90.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/9.612, allocations: 30.14 kB / 3.217 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/9.612, allocations: 8 kB / 3.217 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/9.612, allocations: 0 / 3.217 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001189/9.612, allocations: 69.23 kB / 3.217 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/9.612, allocations: 4 kB / 3.217 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/9.612, allocations: 0 / 3.217 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/9.612, allocations: 0 / 3.217 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/9.612, allocations: 12 kB / 3.217 GB, free: 90.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/9.612, allocations: 0 / 3.217 GB, free: 90.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/9.612, allocations: 7.844 kB / 3.217 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/9.612, allocations: 8.062 kB / 3.217 GB, free: 90.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/9.612, allocations: 108.8 kB / 3.217 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/9.613, allocations: 11.92 kB / 3.217 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/9.613, allocations: 368.8 kB / 3.217 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/9.613, allocations: 11.92 kB / 3.217 GB, free: 90.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/9.613, allocations: 0 / 3.217 GB, free: 90.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/9.613, allocations: 0 / 3.217 GB, free: 90.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/9.613, allocations: 281.8 kB / 3.218 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/9.613, allocations: 0 / 3.218 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/9.613, allocations: 8 kB / 3.218 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/9.613, allocations: 0 / 3.218 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/9.613, allocations: 0 / 3.218 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/9.613, allocations: 192 / 3.218 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/9.613, allocations: 0 / 3.218 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/9.614, allocations: 290.3 kB / 3.218 GB, free: 89.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/9.614, allocations: 92.94 kB / 3.218 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/9.614, allocations: 0 / 3.218 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/9.614, allocations: 4 kB / 3.218 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/9.614, allocations: 4.031 kB / 3.218 GB, free: 89.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/9.614, allocations: 7.562 kB / 3.218 GB, free: 89.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.641e-05/9.614, allocations: 75.28 kB / 3.218 GB, free: 89.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/9.614, allocations: 4.094 kB / 3.218 GB, free: 89.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002574/9.617, allocations: 462.4 kB / 3.218 GB, free: 89.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004686/9.621, allocations: 1.344 MB / 3.22 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000226/9.622, allocations: 82.22 kB / 3.22 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/9.622, allocations: 0 / 3.22 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/9.622, allocations: 85.05 kB / 3.22 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/9.622, allocations: 20.59 kB / 3.22 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/9.624, allocations: 403.6 kB / 3.22 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/9.624, allocations: 0.7142 MB / 3.221 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/9.625, allocations: 30.3 kB / 3.221 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/9.625, allocations: 3.938 kB / 3.221 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.982/12.61, allocations: 11.01 MB / 3.232 GB, free: 75.7 MB / 0.5261 GB