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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 110.5 kB / 17.06 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 200 kB / 18.01 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2861/0.2861, allocations: 48.85 MB / 320.1 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 450 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1219, allocations: 59.15 MB / 0.4972 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.3016/0.4235, allocations: 35.35 MB / 0.5318 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.4434, allocations: 17.63 MB / 0.549 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.4439, allocations: 10.44 kB / 0.549 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.4447, allocations: 192.4 kB / 0.5492 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.4454, allocations: 234.8 kB / 0.5494 GB, free: 3.453 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:13459:9-13461:26:writable] Warning: Conditional component 'partialArc' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.02342/0.4688, allocations: 7 MB / 0.5562 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.4701, allocations: 0.736 MB / 0.557 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.4706, allocations: 272.9 kB / 0.5572 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005591/0.4762, allocations: 1.951 MB / 0.5591 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01797/0.4942, allocations: 6.382 MB / 0.5653 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.4945, allocations: 34.56 kB / 0.5654 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0247/0.5192, allocations: 9.085 MB / 0.5743 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.5195, allocations: 90.53 kB / 0.5743 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.5199, allocations: 247.5 kB / 0.5746 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.5389, allocations: 5.412 MB / 0.5799 GB, free: 4.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5389, allocations: 4 kB / 0.5799 GB, free: 4.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.539, allocations: 0 / 0.5799 GB, free: 4.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.539, allocations: 4 kB / 0.5799 GB, free: 4.348 MB / 430.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.006121/0.5451, allocations: 1.461 MB / 0.5813 GB, free: 3.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.5452, allocations: 19.95 kB / 0.5813 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.791e-05/0.5453, allocations: 69.34 kB / 0.5814 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.5458, allocations: 95.2 kB / 0.5815 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.5464, allocations: 363.1 kB / 0.5818 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.5464, allocations: 27.97 kB / 0.5818 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.5465, allocations: 43.03 kB / 0.5819 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5477, allocations: 0.5318 MB / 0.5824 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.5478, allocations: 6.75 kB / 0.5824 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.5478, allocations: 14.91 kB / 0.5824 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5478, allocations: 10.66 kB / 0.5824 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.5491, allocations: 445.9 kB / 0.5829 GB, free: 2.207 MB / 430.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.002994/0.5521, allocations: 2.418 MB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5536, allocations: 423.8 kB / 0.5856 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.554, allocations: 152.8 kB / 0.5858 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.133/0.687, allocations: 64.33 MB / 0.6486 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.6871, allocations: 39.44 kB / 0.6486 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.6871, allocations: 0 / 0.6486 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.004697/0.6918, allocations: 1.018 MB / 0.6496 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.6919, allocations: 55.41 kB / 0.6497 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.6925, allocations: 385.9 kB / 0.65 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.6925, allocations: 37.64 kB / 0.6501 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.6927, allocations: 236.5 kB / 0.6503 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6928, allocations: 107.1 kB / 0.6504 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.693, allocations: 77.62 kB / 0.6505 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6931, allocations: 350.8 kB / 0.6508 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.6936, allocations: 166.6 kB / 0.651 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.6942, allocations: 283 kB / 0.6512 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009789/0.6952, allocations: 427 kB / 0.6517 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.6952, allocations: 4 kB / 0.6517 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001453/0.6966, allocations: 0.5439 MB / 0.6522 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.6967, allocations: 11.91 kB / 0.6522 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6967, allocations: 4 kB / 0.6522 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.6985, allocations: 248.6 kB / 0.6524 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.6989, allocations: 91.81 kB / 0.6525 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000861/0.6997, allocations: 0.6694 MB / 0.6532 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.7002, allocations: 79.59 kB / 0.6533 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.7003, allocations: 19.98 kB / 0.6533 GB, free: 2.375 MB / 0.4981 GB 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.0006199/0.7009, allocations: 270.5 kB / 0.6535 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005073/0.7014, allocations: 277.5 kB / 0.6538 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009376/0.7024, allocations: 433.5 kB / 0.6542 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.7024, allocations: 0 / 0.6542 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002134/0.7045, allocations: 0.6017 MB / 0.6548 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7045, allocations: 4 kB / 0.6548 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7046, allocations: 8 kB / 0.6548 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.7057, allocations: 141 kB / 0.6549 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.7062, allocations: 107.9 kB / 0.6551 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004642/0.7066, allocations: 0.5873 MB / 0.6556 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.7071, allocations: 57.5 kB / 0.6557 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.7072, allocations: 23.98 kB / 0.6557 GB, free: 15.73 MB / 0.5137 GB 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.0002036/0.7074, allocations: 204.3 kB / 0.6559 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.7075, allocations: 47.66 kB / 0.6559 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.7094, allocations: 1.038 MB / 0.657 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.7095, allocations: 13.67 kB / 0.657 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7095, allocations: 0 / 0.657 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7095, allocations: 7.984 kB / 0.657 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.7102, allocations: 0.5959 MB / 0.6576 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7102, allocations: 4 kB / 0.6576 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.7106, allocations: 59.89 kB / 0.6576 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.7119, allocations: 333.3 kB / 0.6579 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.712, allocations: 8.75 kB / 0.6579 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000868/0.7128, allocations: 0.8848 MB / 0.6588 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7128, allocations: 3.984 kB / 0.6588 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.7151, allocations: 1.234 MB / 0.66 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.7153, allocations: 136.7 kB / 0.6601 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.7154, allocations: 15.89 kB / 0.6602 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.7158, allocations: 36.39 kB / 0.6602 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.7159, allocations: 23.97 kB / 0.6602 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.7159, allocations: 16.05 kB / 0.6602 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00035/0.7162, allocations: 322.9 kB / 0.6605 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7163, allocations: 0 / 0.6605 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004255/0.7205, allocations: 1.403 MB / 0.6619 GB, free: 9.23 MB / 0.5137 GB 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.009769/0.7303, allocations: 2.894 MB / 0.6647 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.7326, allocations: 0.6415 MB / 0.6654 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.7326, allocations: 0 / 0.6654 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.7332, allocations: 270.9 kB / 0.6656 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.7344, allocations: 189.7 kB / 0.6658 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009897/0.7444, allocations: 4.881 MB / 0.6706 GB, free: 156 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.7448, allocations: 0.8562 MB / 0.6714 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003834/0.7452, allocations: 167.1 kB / 0.6716 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.7454, allocations: 187.4 kB / 0.6717 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.7455, allocations: 0 / 0.6717 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/0.8753, allocations: 58.37 MB / 0.7288 GB, free: 4.402 MB / 0.5762 GB Error: Error building simulator. Build log: cmd: cd 'ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- 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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dger.c.o [ 3%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dgesv.c.o [ 4%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dgetf2.c.o [ 5%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dgetrf.c.o [ 6%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dgetrs.c.o [ 7%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dlamch.c.o [ 8%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dlaswp.c.o [ 9%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dogleg_.c.o [ 10%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dpmpar_.c.o [ 11%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dscal.c.o [ 12%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dswap.c.o [ 13%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/dtrsm.c.o [ 14%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/enorm_.c.o [ 15%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/hybrj_.c.o [ 16%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/i_nint.c.o [ 17%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/idamax.c.o [ 18%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/ieeeck.c.o [ 19%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/ilaenv.c.o [ 20%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/iparmq.c.o [ 21%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/lsame.c.o [ 22%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/pow_di.c.o [ 23%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/qform_.c.o [ 24%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/qrfac_.c.o [ 25%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/r1mpyq_.c.o [ 26%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/r1updt_.c.o [ 27%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/s_cmp.c.o [ 28%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/s_copy.c.o [ 29%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/external_solvers/xerbla.c.o [ 30%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/gc/memory_pool.c.o [ 31%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/gc/omc_gc.c.o [ 32%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/math-support/pivot.c.o [ 33%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/meta/meta_modelica_catch.c.o [ 34%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/jacobian_util.c.o [ 35%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/omc_simulation_util.c.o [ 36%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/options.c.o [ 37%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/simulation_info_json.c.o [ 38%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/simulation_omc_assert.c.o [ 39%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/delay.c.o [ 40%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/fmi_events.c.o [ 41%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/initialization/initialization.c.o [ 42%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/model_help.c.o [ 43%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 44%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 45%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/nonlinearSystem.c.o [ 46%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/nonlinearValuesList.c.o [ 47%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/omc_math.c.o [ 48%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/spatialDistribution.c.o [ 49%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/stateset.c.o [ 50%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/simulation/solver/synchronous.c.o [ 51%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/ModelicaUtilities.c.o [ 52%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/base_array.c.o [ 53%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/boolean_array.c.o [ 54%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/context.c.o [ 55%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/division.c.o [ 56%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/doubleEndedList.c.o [ 57%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/generic_array.c.o [ 58%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/index_spec.c.o [ 59%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/integer_array.c.o [ 60%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/list.c.o [ 61%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/modelica_string.c.o [ 62%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/modelica_string_lit.c.o [ 63%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/omc_error.c.o [ 64%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/omc_file.c.o [ 65%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/omc_init.c.o [ 66%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/omc_mmap.c.o [ 67%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/omc_msvc.c.o [ 68%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/omc_numbers.c.o [ 69%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/parallel_helper.c.o [ 70%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/rational.c.o [ 71%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/real_array.c.o [ 72%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/ringbuffer.c.o [ 73%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/simulation_options.c.o [ 74%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/string_array.c.o [ 75%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/utility.c.o [ 76%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/util/varinfo.c.o [ 77%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.c.o [ 78%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_01exo.c.o [ 79%] Building C object CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:59:147: error: use of undeclared identifier 'steamTurbineVarEta' (data->localData[0]->realVars[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/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:361: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[65] /* valveHP.w variable */); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:677:95: error: use of undeclared identifier 'steamTurbineVarEta' }res[0] = ((data->simulationInfo->realParameter[54] /* steamTurbineVarEta.Kt PARAM */)) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * ((data->localData[0]->realVars[2] /* $cse1 variable */)))) - (data->localData[0]->realVars[65] /* valveHP.w variable */); ^ 3 errors generated. gmake[2]: *** [CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/build.make:1168: CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2