Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01095/0.01095, allocations: 104.9 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00116/0.00116, allocations: 170.5 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.56/1.56, allocations: 170.9 MB / 187.5 MB, free: 1.02 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2745/0.2745, allocations: 38.1 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004567, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08814/0.08864, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.06578/0.1545, allocations: 39.15 MB / 411.4 MB, free: 5.609 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03752/0.1921, allocations: 18.61 MB / 430.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.194, allocations: 47.69 kB / 430.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.1971, allocations: 0.6453 MB / 430.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3028/0.5, allocations: 4.399 MB / 435.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.5124, allocations: 3 MB / 438.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.517, allocations: 1.742 MB / 439.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.519, allocations: 0.9057 MB / 440.8 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.5219, allocations: 0.9377 MB / 441.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01841/0.5404, allocations: 6.551 MB / 448.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.5409, allocations: 73.78 kB / 448.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02111/0.5621, allocations: 7.56 MB / 455.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.5628, allocations: 275.1 kB / 456.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008219/0.5636, allocations: 343.3 kB / 456.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.5742, allocations: 4.501 MB / 461 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5743, allocations: 1.219 kB / 461 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5743, allocations: 0 / 461 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.903e-05/0.5744, allocations: 0 / 461 MB, free: 11.2 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00745/0.5818, allocations: 2.162 MB / 463.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5819, allocations: 10.94 kB / 463.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004442/0.5823, allocations: 198.9 kB / 463.4 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/0.586, allocations: 393.3 kB / 463.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.5885, allocations: 0.9165 MB / 464.7 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.5887, allocations: 103.5 kB / 464.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.5889, allocations: 133.6 kB / 464.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.5942, allocations: 1.671 MB / 466.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/0.5943, allocations: 13.48 kB / 466.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.5946, allocations: 55 kB / 466.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.5946, allocations: 54.34 kB / 466.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00521/0.5998, allocations: 1.365 MB / 468.1 MB, free: 6.727 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01226/0.6122, allocations: 7.572 MB / 475.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.6164, allocations: 0.8959 MB / 476.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06305/0.6795, allocations: 18.58 MB / 495.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.6796, allocations: 44.34 kB / 495.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 3.968e-06/0.6796, allocations: 0 / 495.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.05583/0.7354, allocations: 5.892 MB / 0.4893 GB, free: 5.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2543/0.9898, allocations: 47.76 MB / 0.5359 GB, free: 6.402 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.9917, allocations: 0.8874 MB / 0.5368 GB, free: 5.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.992, allocations: 42.2 kB / 0.5369 GB, free: 5.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006833/0.9926, allocations: 0.7112 MB / 0.5376 GB, free: 5.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.9932, allocations: 330.9 kB / 0.5379 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.9933, allocations: 25.62 kB / 0.5379 GB, free: 4.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.9935, allocations: 355 kB / 0.5382 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.9954, allocations: 486.4 kB / 0.5387 GB, free: 4.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.9977, allocations: 0.9772 MB / 0.5396 GB, free: 3.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/1, allocations: 0.6052 MB / 0.5402 GB, free: 2.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/1, allocations: 4 kB / 0.5402 GB, free: 2.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006275/1.006, allocations: 1.768 MB / 0.542 GB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002518/1.009, allocations: 6.264 MB / 0.5481 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/1.009, allocations: 20 kB / 0.5481 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/1.019, allocations: 1.078 MB / 0.5492 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.021, allocations: 309.3 kB / 0.5495 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/1.025, allocations: 1.628 MB / 0.551 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/1.027, allocations: 130.4 kB / 0.5512 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/1.027, allocations: 85.7 kB / 0.5512 GB, free: 8.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.027, allocations: 4 kB / 0.5513 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007987/1.035, allocations: 1.85 MB / 0.5531 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/1.035, allocations: 20.25 kB / 0.5531 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/1.041, allocations: 0.7186 MB / 0.5538 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.044, allocations: 311.9 kB / 0.5541 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/1.047, allocations: 1.604 MB / 0.5556 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.049, allocations: 133.8 kB / 0.5558 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/1.049, allocations: 80.84 kB / 0.5559 GB, free: 4.316 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.051, allocations: 422.3 kB / 0.5563 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/1.051, allocations: 114.6 kB / 0.5564 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/1.06, allocations: 3.712 MB / 0.56 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007496/1.067, allocations: 3.175 MB / 0.5631 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.068, allocations: 0 / 0.5631 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/1.068, allocations: 7.984 kB / 0.5631 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/1.082, allocations: 5.993 MB / 0.5689 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.082, allocations: 0 / 0.5689 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.084, allocations: 183.3 kB / 0.5691 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008124/1.092, allocations: 1.601 MB / 0.5707 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/1.092, allocations: 27.98 kB / 0.5707 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/1.097, allocations: 2.415 MB / 0.5731 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.417/1.514, allocations: 24.78 MB / 0.5973 GB, free: 152.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009698/1.524, allocations: 3.917 MB / 0.6011 GB, free: 151.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.525, allocations: 392.7 kB / 0.6015 GB, free: 151.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/1.526, allocations: 22.61 kB / 0.6015 GB, free: 151.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.527, allocations: 101.8 kB / 0.6016 GB, free: 151.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.528, allocations: 76.38 kB / 0.6017 GB, free: 151.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.528, allocations: 34.62 kB / 0.6017 GB, free: 151.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001355/1.529, allocations: 0.6431 MB / 0.6023 GB, free: 151 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.529, allocations: 0 / 0.6023 GB, free: 151 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01648/1.546, allocations: 3.935 MB / 0.6062 GB, free: 150.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03845/1.584, allocations: 6.972 MB / 0.613 GB, free: 148.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007787/1.592, allocations: 2.476 MB / 0.6154 GB, free: 147.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.592, allocations: 0 / 0.6154 GB, free: 147.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.595, allocations: 1.174 MB / 0.6165 GB, free: 146.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.599, allocations: 401.2 kB / 0.6169 GB, free: 146.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.619, allocations: 17.8 MB / 0.6343 GB, free: 131.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.62, allocations: 1.438 MB / 0.6357 GB, free: 131.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002652/1.623, allocations: 0.7159 MB / 0.6364 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.625, allocations: 0.7104 MB / 0.6371 GB, free: 130.6 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/1.625, allocations: 0 / 0.6371 GB, free: 130.6 MB / 458.7 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: motor.Jr.