Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 105.1 kB / 21.22 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 216.3 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 207.7 MB / 235.4 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2898/0.2898, allocations: 49.61 MB / 337.2 MB, free: 3.867 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.91 kB / 477.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 62.41 MB / 0.5269 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.2683/0.4005, allocations: 32.38 MB / 0.5585 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0229/0.4234, allocations: 15.53 MB / 0.5737 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.4239, allocations: 11.78 kB / 0.5737 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.4247, allocations: 181.8 kB / 0.5739 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008214/0.4255, allocations: 240.5 kB / 0.5741 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02527/0.4508, allocations: 6.976 MB / 0.5809 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4522, allocations: 0.7352 MB / 0.5816 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.4528, allocations: 232.4 kB / 0.5819 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005813/0.4586, allocations: 1.965 MB / 0.5838 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01837/0.477, allocations: 6.324 MB / 0.5899 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.4772, allocations: 39.44 kB / 0.59 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02158/0.4988, allocations: 9.039 MB / 0.5988 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.499, allocations: 91.62 kB / 0.5989 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.4996, allocations: 215 kB / 0.5991 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.5153, allocations: 5.409 MB / 0.6044 GB, free: 5.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.5153, allocations: 0 / 0.6044 GB, free: 5.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5153, allocations: 0 / 0.6044 GB, free: 5.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.5153, allocations: 0 / 0.6044 GB, free: 5.82 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.004781/0.5201, allocations: 1.378 MB / 0.6057 GB, free: 4.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5202, allocations: 12.03 kB / 0.6057 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.954e-05/0.5202, allocations: 9.188 kB / 0.6058 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.5204, allocations: 82.66 kB / 0.6058 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.5209, allocations: 94.16 kB / 0.6059 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.5215, allocations: 298.2 kB / 0.6062 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.5215, allocations: 29.38 kB / 0.6062 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.5216, allocations: 39.94 kB / 0.6063 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.5231, allocations: 0.562 MB / 0.6068 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.5231, allocations: 7.938 kB / 0.6068 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.5232, allocations: 16 kB / 0.6068 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.5232, allocations: 8 kB / 0.6069 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.5246, allocations: 442.1 kB / 0.6073 GB, free: 2.738 MB / 446.1 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.003409/0.528, allocations: 1.987 MB / 0.6092 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.5296, allocations: 402.5 kB / 0.6096 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.5301, allocations: 152.7 kB / 0.6097 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1215/0.6516, allocations: 33.64 MB / 0.6426 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.6517, allocations: 34.56 kB / 0.6426 GB, free: 14.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.316e-06/0.6517, allocations: 0 / 0.6426 GB, free: 14.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.004883/0.6565, allocations: 0.9464 MB / 0.6436 GB, free: 13.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.6566, allocations: 59.34 kB / 0.6436 GB, free: 13.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.6572, allocations: 389.9 kB / 0.644 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.6572, allocations: 29.7 kB / 0.644 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.6574, allocations: 240.4 kB / 0.6442 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.6576, allocations: 99.11 kB / 0.6443 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.6577, allocations: 85.58 kB / 0.6444 GB, free: 12.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.6579, allocations: 354.8 kB / 0.6448 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.6584, allocations: 167.4 kB / 0.6449 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.659, allocations: 278.8 kB / 0.6452 GB, free: 11.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.6601, allocations: 427 kB / 0.6456 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6601, allocations: 0 / 0.6456 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001637/0.6617, allocations: 0.5381 MB / 0.6461 GB, free: 10.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6618, allocations: 12 kB / 0.6461 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.6618, allocations: 7.938 kB / 0.6461 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/0.6638, allocations: 244.5 kB / 0.6464 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.6643, allocations: 95.5 kB / 0.6465 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.6654, allocations: 0.6772 MB / 0.6471 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.6659, allocations: 59.7 kB / 0.6472 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.6659, allocations: 19.98 kB / 0.6472 GB, free: 9.496 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007435/0.6667, allocations: 282.1 kB / 0.6475 GB, free: 9.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005617/0.6672, allocations: 265.1 kB / 0.6477 GB, free: 8.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.6683, allocations: 436.6 kB / 0.6481 GB, free: 8.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.6683, allocations: 0 / 0.6481 GB, free: 8.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002375/0.6706, allocations: 0.6039 MB / 0.6487 GB, free: 7.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6707, allocations: 11.91 kB / 0.6487 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6707, allocations: 4 kB / 0.6487 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.672, allocations: 144.7 kB / 0.6489 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.6725, allocations: 103.8 kB / 0.649 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005968/0.6731, allocations: 0.5757 MB / 0.6495 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.6735, allocations: 59.81 kB / 0.6496 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.6736, allocations: 23.92 kB / 0.6496 GB, free: 6.848 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (steamTurbineVarEta.steamState_in.phase,valveHP.fluidState.phase,steamTurbineVarEta.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000268/0.6738, allocations: 212.2 kB / 0.6498 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.674, allocations: 47.66 kB / 0.6499 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.6763, allocations: 1.052 MB / 0.6509 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.6763, allocations: 11.98 kB / 0.6509 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6763, allocations: 4 kB / 0.6509 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.6763, allocations: 3.984 kB / 0.6509 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/0.6771, allocations: 0.5172 MB / 0.6514 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6771, allocations: 0 / 0.6514 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.6775, allocations: 63.94 kB / 0.6515 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.679, allocations: 337.3 kB / 0.6518 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.679, allocations: 12 kB / 0.6518 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.6802, allocations: 0.8942 MB / 0.6527 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6802, allocations: 3.938 kB / 0.6527 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.6828, allocations: 1.232 MB / 0.6539 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.6829, allocations: 59.47 kB / 0.6539 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6831, allocations: 19.88 kB / 0.654 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.6834, allocations: 31.97 kB / 0.654 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.6835, allocations: 31.94 kB / 0.654 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.6835, allocations: 7.938 kB / 0.654 GB, free: 2.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004356/0.684, allocations: 326.9 kB / 0.6543 GB, free: 1.891 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.684, allocations: 0 / 0.6543 GB, free: 1.891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004505/0.6885, allocations: 1.411 MB / 0.6557 GB, free: 484 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01027/0.6987, allocations: 2.883 MB / 0.6585 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.7011, allocations: 0.6225 MB / 0.6591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.7011, allocations: 0 / 0.6591 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.7019, allocations: 247 kB / 0.6594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.7031, allocations: 187.4 kB / 0.6596 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.7144, allocations: 4.886 MB / 0.6643 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.7147, allocations: 256.1 kB / 0.6646 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000496/0.7152, allocations: 163.1 kB / 0.6647 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.7155, allocations: 183.4 kB / 0.6649 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.7155, allocations: 3.938 kB / 0.6649 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/0.8366, allocations: 58.96 MB / 0.7225 GB, free: 11.7 MB / 0.5606 GB Error: Error building simulator. Build log: cmd: cd '627.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/../binaries/linux64 -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/build_cmake_static [ 0%] Building C object CMakeFiles/627.dir/external_solvers/F77_aloc.c.o [ 1%] Building C object CMakeFiles/627.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/627.dir/external_solvers/dgemv.c.o [ 3%] Building C object CMakeFiles/627.dir/external_solvers/dger.c.o [ 4%] Building C object CMakeFiles/627.dir/external_solvers/dgesv.c.o [ 5%] Building C object CMakeFiles/627.dir/external_solvers/dgetf2.c.o [ 6%] Building C object CMakeFiles/627.dir/external_solvers/dgetrf.c.o [ 7%] Building C object CMakeFiles/627.dir/external_solvers/dgetri.c.o [ 8%] Building C object CMakeFiles/627.dir/external_solvers/dgetrs.c.o [ 9%] Building C object CMakeFiles/627.dir/external_solvers/dlamch.c.o [ 9%] Building C object CMakeFiles/627.dir/external_solvers/dlaswp.c.o [ 10%] Building C object CMakeFiles/627.dir/external_solvers/dogleg_.c.o [ 11%] Building C object CMakeFiles/627.dir/external_solvers/dpmpar_.c.o [ 12%] Building C object CMakeFiles/627.dir/external_solvers/dscal.c.o [ 13%] Building C object CMakeFiles/627.dir/external_solvers/dswap.c.o [ 14%] Building C object CMakeFiles/627.dir/external_solvers/dtrmm.c.o [ 15%] Building C object CMakeFiles/627.dir/external_solvers/dtrmv.c.o [ 16%] Building C object CMakeFiles/627.dir/external_solvers/dtrsm.c.o [ 17%] Building C object CMakeFiles/627.dir/external_solvers/dtrti2.c.o [ 18%] Building C object CMakeFiles/627.dir/external_solvers/dtrtri.c.o [ 18%] Building C object CMakeFiles/627.dir/external_solvers/enorm_.c.o [ 19%] Building C object CMakeFiles/627.dir/external_solvers/exit_.c.o [ 20%] Building C object CMakeFiles/627.dir/external_solvers/hybrj_.c.o [ 21%] Building C object CMakeFiles/627.dir/external_solvers/i_nint.c.o [ 22%] Building C object CMakeFiles/627.dir/external_solvers/idamax.c.o [ 23%] Building C object CMakeFiles/627.dir/external_solvers/ieeeck.c.o [ 24%] Building C object CMakeFiles/627.dir/external_solvers/ilaenv.c.o [ 25%] Building C object CMakeFiles/627.dir/external_solvers/iparmq.c.o [ 26%] Building C object CMakeFiles/627.dir/external_solvers/lsame.c.o [ 27%] Building C object CMakeFiles/627.dir/external_solvers/pow_di.c.o [ 27%] Building C object CMakeFiles/627.dir/external_solvers/qform_.c.o [ 28%] Building C object CMakeFiles/627.dir/external_solvers/qrfac_.c.o [ 29%] Building C object CMakeFiles/627.dir/external_solvers/r1mpyq_.c.o [ 30%] Building C object CMakeFiles/627.dir/external_solvers/r1updt_.c.o [ 31%] Building C object CMakeFiles/627.dir/external_solvers/s_cat.c.o [ 32%] Building C object CMakeFiles/627.dir/external_solvers/s_cmp.c.o [ 33%] Building C object CMakeFiles/627.dir/external_solvers/s_copy.c.o [ 34%] Building C object CMakeFiles/627.dir/external_solvers/xerbla.c.o [ 35%] Building C object CMakeFiles/627.dir/gc/memory_pool.c.o [ 36%] Building C object CMakeFiles/627.dir/gc/omc_gc.c.o [ 36%] Building C object CMakeFiles/627.dir/math-support/pivot.c.o [ 37%] Building C object CMakeFiles/627.dir/meta/meta_modelica_catch.c.o [ 38%] Building C object CMakeFiles/627.dir/simulation/jacobian_util.c.o [ 39%] Building C object CMakeFiles/627.dir/simulation/omc_simulation_util.c.o [ 40%] Building C object CMakeFiles/627.dir/simulation/options.c.o [ 41%] Building C object CMakeFiles/627.dir/simulation/simulation_info_json.c.o [ 42%] Building C object CMakeFiles/627.dir/simulation/simulation_omc_assert.c.o [ 43%] Building C object CMakeFiles/627.dir/simulation/solver/cvode_solver.c.o [ 44%] Building C object CMakeFiles/627.dir/simulation/solver/delay.c.o [ 45%] Building C object CMakeFiles/627.dir/simulation/solver/fmi_events.c.o [ 45%] Building C object CMakeFiles/627.dir/simulation/solver/initialization/initialization.c.o [ 46%] Building C object CMakeFiles/627.dir/simulation/solver/model_help.c.o [ 47%] Building C object CMakeFiles/627.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 48%] Building C object CMakeFiles/627.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 49%] Building C object CMakeFiles/627.dir/simulation/solver/nonlinearSystem.c.o [ 50%] Building C object CMakeFiles/627.dir/simulation/solver/nonlinearValuesList.c.o [ 51%] Building C object CMakeFiles/627.dir/simulation/solver/omc_math.c.o [ 52%] Building C object CMakeFiles/627.dir/simulation/solver/spatialDistribution.c.o [ 53%] Building C object CMakeFiles/627.dir/simulation/solver/stateset.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/simulation/solver/stateset.c:349:70: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/simulation/solver/stateset.c:349:140: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu 2 warnings generated. [ 54%] Building C object CMakeFiles/627.dir/simulation/solver/sundials_error.c.o [ 54%] Building C object CMakeFiles/627.dir/simulation/solver/synchronous.c.o [ 55%] Building C object CMakeFiles/627.dir/util/ModelicaUtilities.c.o [ 56%] Building C object CMakeFiles/627.dir/util/base_array.c.o [ 57%] Building C object CMakeFiles/627.dir/util/boolean_array.c.o [ 58%] Building C object CMakeFiles/627.dir/util/context.c.o [ 59%] Building C object CMakeFiles/627.dir/util/division.c.o [ 60%] Building C object CMakeFiles/627.dir/util/doubleEndedList.c.o [ 61%] Building C object CMakeFiles/627.dir/util/generic_array.c.o [ 62%] Building C object CMakeFiles/627.dir/util/index_spec.c.o [ 63%] Building C object CMakeFiles/627.dir/util/integer_array.c.o [ 63%] Building C object CMakeFiles/627.dir/util/list.c.o [ 64%] Building C object CMakeFiles/627.dir/util/modelica_string.c.o [ 65%] Building C object CMakeFiles/627.dir/util/modelica_string_lit.c.o [ 66%] Building C object CMakeFiles/627.dir/util/omc_error.c.o [ 67%] Building C object CMakeFiles/627.dir/util/omc_file.c.o [ 68%] Building C object CMakeFiles/627.dir/util/omc_init.c.o [ 69%] Building C object CMakeFiles/627.dir/util/omc_mmap.c.o [ 70%] Building C object CMakeFiles/627.dir/util/omc_msvc.c.o [ 71%] Building C object CMakeFiles/627.dir/util/omc_numbers.c.o [ 72%] Building C object CMakeFiles/627.dir/util/parallel_helper.c.o [ 72%] Building C object CMakeFiles/627.dir/util/rational.c.o [ 73%] Building C object CMakeFiles/627.dir/util/real_array.c.o [ 74%] Building C object CMakeFiles/627.dir/util/ringbuffer.c.o [ 75%] Building C object CMakeFiles/627.dir/util/simulation_options.c.o [ 76%] Building C object CMakeFiles/627.dir/util/string_array.c.o [ 77%] Building C object CMakeFiles/627.dir/util/utility.c.o [ 78%] Building C object CMakeFiles/627.dir/util/varinfo.c.o [ 79%] Building C object CMakeFiles/627.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.c.o [ 80%] Building C object CMakeFiles/627.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_01exo.c.o [ 81%] Building C object CMakeFiles/627.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:61:184: error: use of undeclared identifier 'steamTurbineVarEta' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[65]] /* valveHP.w variable */) = ((data->simulationInfo->realParameter[54] /* steamTurbineVarEta.Kt PARAM */)) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:365:94: error: use of undeclared identifier 'steamTurbineVarEta' res[0] = ((data->simulationInfo->realParameter[54] /* steamTurbineVarEta.Kt PARAM */)) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[65]] /* valveHP.w variable */); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/627.fmutmp/sources/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:684:95: error: use of undeclared identifier 'steamTurbineVarEta' }res[0] = ((data->simulationInfo->realParameter[54] /* steamTurbineVarEta.Kt PARAM */)) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[2]] /* $cse1 variable */)))) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[65]] /* valveHP.w variable */); ^ 3 errors generated. gmake[2]: *** [CMakeFiles/627.dir/build.make:1322: CMakeFiles/627.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/627.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 " [Timeout remaining time 647] [Calling sys.exit(0), Time elapsed: 15.358443439006805] Failed to read output from testmodel.py, exit status != 0: 12.672354365000501 12.688675589 12.169786182 Calling exit ...