Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.462e-05, allocations: 7.938 kB / 347 MB, free: 3.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3621, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.399/6.761, allocations: 2.746 GB / 3.146 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/6.762, allocations: 69.75 kB / 3.146 GB, free: 61.26 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.5458/7.308, allocations: 65.81 MB / 3.21 GB, free: 141 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/7.308, allocations: 2.328 kB / 3.21 GB, free: 141 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.375e-05/7.308, allocations: 3.875 kB / 3.21 GB, free: 141 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.001825/7.309, allocations: 0.5754 MB / 3.211 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/7.309, allocations: 11.59 kB / 3.211 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/7.31, allocations: 15.39 kB / 3.211 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.794e-05/7.31, allocations: 161.3 kB / 3.211 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/7.31, allocations: 4.984 kB / 3.211 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/7.31, allocations: 3.812 kB / 3.211 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/7.31, allocations: 99.61 kB / 3.211 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.912e-06/7.31, allocations: 0 / 3.211 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-06/7.31, allocations: 0 / 3.211 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-06/7.31, allocations: 0 / 3.211 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/7.31, allocations: 52.69 kB / 3.211 GB, free: 140.3 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.0003497/7.311, allocations: 366.3 kB / 3.211 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/7.311, allocations: 64.42 kB / 3.211 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/7.311, allocations: 18.86 kB / 3.211 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/7.324, allocations: 4.557 MB / 3.216 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/7.324, allocations: 36.34 kB / 3.216 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 3.229e-06/7.324, allocations: 0 / 3.216 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0005246/7.324, allocations: 102 kB / 3.216 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/7.324, allocations: 54.52 kB / 3.216 GB, free: 138 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/7.324, allocations: 96.64 kB / 3.216 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/7.324, allocations: 26.45 kB / 3.216 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/7.324, allocations: 159.6 kB / 3.216 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/7.324, allocations: 19.66 kB / 3.216 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-06/7.324, allocations: 1.25 kB / 3.216 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.999e-05/7.324, allocations: 317.1 kB / 3.217 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/7.324, allocations: 8.219 kB / 3.217 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/7.325, allocations: 30.16 kB / 3.217 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/7.325, allocations: 9.5 kB / 3.217 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/7.325, allocations: 0.7031 kB / 3.217 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001285/7.325, allocations: 61.02 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/7.325, allocations: 4.938 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-06/7.325, allocations: 1.672 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/7.325, allocations: 0.9375 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/7.325, allocations: 13.62 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.848e-06/7.325, allocations: 6.422 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/7.325, allocations: 9.859 kB / 3.217 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/7.325, allocations: 2.188 kB / 3.217 GB, free: 137.3 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 4.944e-05/7.325, allocations: 110.5 kB / 3.217 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/7.325, allocations: 2.641 kB / 3.217 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/7.326, allocations: 374 kB / 3.217 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/7.326, allocations: 6.062 kB / 3.217 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-06/7.326, allocations: 0.6562 kB / 3.217 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.146e-06/7.326, allocations: 0 / 3.217 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/7.326, allocations: 282.1 kB / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/7.326, allocations: 0 / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/7.326, allocations: 6.578 kB / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/7.326, allocations: 3.75 kB / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.556e-06/7.326, allocations: 4.891 kB / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.472e-06/7.326, allocations: 0 / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.362e-06/7.326, allocations: 3.188 kB / 3.217 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/7.326, allocations: 282.2 kB / 3.218 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/7.326, allocations: 91.73 kB / 3.218 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/7.326, allocations: 0.7969 kB / 3.218 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/7.326, allocations: 7.016 kB / 3.218 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/7.327, allocations: 6.812 kB / 3.218 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-06/7.327, allocations: 0 / 3.218 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.314e-05/7.327, allocations: 86.09 kB / 3.218 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.14e-07/7.327, allocations: 0 / 3.218 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001935/7.329, allocations: 462.9 kB / 3.218 GB, free: 136.6 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.002463/7.331, allocations: 0.6144 MB / 3.219 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001917/7.331, allocations: 81.02 kB / 3.219 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.33e-06/7.331, allocations: 3.844 kB / 3.219 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/7.331, allocations: 87.28 kB / 3.219 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/7.332, allocations: 10.73 kB / 3.219 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/7.332, allocations: 235.8 kB / 3.219 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/7.332, allocations: 0.7181 MB / 3.22 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/7.332, allocations: 11.34 kB / 3.22 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.57e-06/7.332, allocations: 1.969 kB / 3.22 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01848/7.351, allocations: 10.58 MB / 3.23 GB, free: 134.8 MB / 0.5261 GB