Notification: Performance of loadModel(ModelicaTest): time 1.854/1.854, allocations: 234.6 MB / 240.6 MB, free: 7.762 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2067/2.061, allocations: 56.69 MB / 297.3 MB, free: 8.512 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07845/2.139, allocations: 54.72 MB / 352 MB, free: 10.73 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/6.905, allocations: 2.628 GB / 2.971 GB, free: 138.8 MB / 472.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/6.905, allocations: 82.39 kB / 2.972 GB, free: 138.7 MB / 472.6 MB Notification: Performance of Generate backend data structure: time 1.705/8.61, allocations: 455.4 MB / 3.416 GB, free: 51.91 MB / 488.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/8.61, allocations: 8.781 kB / 3.416 GB, free: 51.91 MB / 488.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/8.616, allocations: 468.1 kB / 3.417 GB, free: 51.8 MB / 488.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/8.619, allocations: 1.017 MB / 3.418 GB, free: 51.19 MB / 488.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/8.619, allocations: 49.47 kB / 3.418 GB, free: 51.19 MB / 488.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/8.619, allocations: 75.28 kB / 3.418 GB, free: 51.19 MB / 488.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002948/8.622, allocations: 0.955 MB / 3.419 GB, free: 50.82 MB / 488.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/8.626, allocations: 1.23 MB / 3.42 GB, free: 50.19 MB / 488.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.356e-05/8.626, allocations: 10.56 kB / 3.42 GB, free: 50.18 MB / 488.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/8.626, allocations: 2.688 kB / 3.42 GB, free: 50.18 MB / 488.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/8.626, allocations: 51.27 kB / 3.42 GB, free: 50.18 MB / 488.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3737/9, allocations: 71.89 MB / 3.49 GB, free: 100.7 MB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/9.001, allocations: 332.3 kB / 3.491 GB, free: 100.7 MB / 0.4928 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/9.001, allocations: 263.4 kB / 3.491 GB, free: 100.7 MB / 0.4928 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04149/9.043, allocations: 17.03 MB / 3.507 GB, free: 90.08 MB / 0.4928 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/9.043, allocations: 42.38 kB / 3.508 GB, free: 90.04 MB / 0.4928 GB Notification: Performance of pre-optimization done (n=63): time 7.473e-06/9.043, allocations: 0 / 3.508 GB, free: 90.04 MB / 0.4928 GB Notification: Performance of matching and sorting (n=83): time 0.0387/9.082, allocations: 5.048 MB / 3.512 GB, free: 89.03 MB / 0.4928 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/9.082, allocations: 138.9 kB / 3.513 GB, free: 88.88 MB / 0.4928 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/9.083, allocations: 0.7206 MB / 3.513 GB, free: 88.73 MB / 0.4928 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/9.084, allocations: 25.7 kB / 3.513 GB, free: 88.7 MB / 0.4928 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/9.084, allocations: 0.6302 MB / 3.514 GB, free: 88.32 MB / 0.4928 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/9.085, allocations: 290.8 kB / 3.514 GB, free: 88.17 MB / 0.4928 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/9.085, allocations: 1.969 kB / 3.514 GB, free: 88.17 MB / 0.4928 GB Notification: Performance of setup shared object (initialization): time 0.0001076/9.085, allocations: 362 kB / 3.515 GB, free: 87.86 MB / 0.4928 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008997/9.086, allocations: 398.9 kB / 3.515 GB, free: 87.86 MB / 0.4928 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/9.087, allocations: 0.8866 MB / 3.516 GB, free: 87.26 MB / 0.4928 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/9.09, allocations: 0.6428 MB / 3.516 GB, free: 87.25 MB / 0.4928 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/9.09, allocations: 3.656 kB / 3.516 GB, free: 87.25 MB / 0.4928 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.007711/9.098, allocations: 1.841 MB / 3.518 GB, free: 87.15 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/9.1, allocations: 6.252 MB / 3.524 GB, free: 80.64 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-05/9.1, allocations: 18.88 kB / 3.524 GB, free: 80.64 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/9.102, allocations: 450.2 kB / 3.525 GB, free: 80.62 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/9.104, allocations: 306.5 kB / 3.525 GB, free: 80.62 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/9.108, allocations: 1.756 MB / 3.527 GB, free: 79.58 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/9.11, allocations: 110.5 kB / 3.527 GB, free: 79.58 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/9.111, allocations: 87.34 kB / 3.527 GB, free: 79.57 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/9.111, allocations: 4.938 kB / 3.527 GB, free: 79.57 MB / 0.4928 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005321/9.116, allocations: 1.34 MB / 3.528 GB, free: 79.54 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.434e-05/9.116, allocations: 17.84 kB / 3.528 GB, free: 79.54 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/9.118, allocations: 290.8 kB / 3.529 GB, free: 79.52 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/9.12, allocations: 312.4 kB / 3.529 GB, free: 79.52 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/9.122, allocations: 1.456 MB / 3.53 GB, free: 78.48 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/9.124, allocations: 105.8 kB / 3.53 GB, free: 78.48 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/9.124, allocations: 80.94 kB / 3.53 GB, free: 78.48 MB / 0.4928 GB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001911/9.125, allocations: 3.906 kB / 3.53 GB, free: 78.48 MB / 0.4928 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/9.126, allocations: 325 kB / 3.531 GB, free: 78.42 MB / 0.4928 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/9.132, allocations: 2.575 MB / 3.533 GB, free: 78.24 MB / 0.4928 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004296/9.137, allocations: 2.023 MB / 3.535 GB, free: 78.13 MB / 0.4928 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/9.137, allocations: 3.719 kB / 3.535 GB, free: 78.13 MB / 0.4928 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/9.137, allocations: 7.266 kB / 3.535 GB, free: 78.13 MB / 0.4928 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009822/9.147, allocations: 4.476 MB / 3.54 GB, free: 77.66 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/9.147, allocations: 0 / 3.54 GB, free: 77.66 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/9.148, allocations: 141 kB / 3.54 GB, free: 77.66 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/9.151, allocations: 0.9713 MB / 3.541 GB, free: 77.61 MB / 0.4928 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/9.151, allocations: 25.77 kB / 3.541 GB, free: 77.61 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/9.155, allocations: 2.302 MB / 3.543 GB, free: 76.54 MB / 0.4928 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1643/9.32, allocations: 43.1 MB / 3.585 GB, free: 60.75 MB / 0.4928 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006346/9.326, allocations: 3.014 MB / 3.588 GB, free: 60.25 MB / 0.4928 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007496/9.334, allocations: 4.178 MB / 3.592 GB, free: 59.37 MB / 0.4928 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000863/9.335, allocations: 362.2 kB / 3.592 GB, free: 59.2 MB / 0.4928 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/9.335, allocations: 3.812 kB / 3.592 GB, free: 59.2 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/9.336, allocations: 81.64 kB / 3.593 GB, free: 59.19 MB / 0.4928 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/9.337, allocations: 62.11 kB / 3.593 GB, free: 59.19 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/9.337, allocations: 38.78 kB / 3.593 GB, free: 59.18 MB / 0.4928 GB Notification: Performance of sort global known variables: time 0.001071/9.338, allocations: 0.638 MB / 3.593 GB, free: 59.07 MB / 0.4928 GB Notification: Performance of remove unused functions: time 0.01563/9.354, allocations: 4.102 MB / 3.597 GB, free: 59.02 MB / 0.4928 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.02462/9.378, allocations: 3.187 MB / 3.6 GB, free: 58.64 MB / 0.4928 GB Notification: Performance of simCode: created initialization part: time 0.005581/9.384, allocations: 2.123 MB / 3.602 GB, free: 58.6 MB / 0.4928 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/9.384, allocations: 4.219 kB / 3.602 GB, free: 58.6 MB / 0.4928 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/9.386, allocations: 0.9879 MB / 3.603 GB, free: 58.58 MB / 0.4928 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/9.389, allocations: 339.9 kB / 3.604 GB, free: 58.56 MB / 0.4928 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0598/9.449, allocations: 17.05 MB / 3.62 GB, free: 57.06 MB / 0.4928 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/9.451, allocations: 1.453 MB / 3.622 GB, free: 56.31 MB / 0.4928 GB Notification: Performance of SimCode: time 2.654e-06/9.451, allocations: 0 / 3.622 GB, free: 56.31 MB / 0.4928 GB Error: Template error: A template call failed (a call with 3 parameters: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: omc_CodegenFMUCpp_translateModel). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates preserve pure 'match'/non-failing semantics). Error: Internal error SimCode: The model ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer could not be translated to FMU