Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G.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.00167/0.00167, allocations: 79.39 kB / 20.53 MB, free: 1.352 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.002063/0.002063, allocations: 160 kB / 23.78 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.375/1.375, allocations: 177.2 MB / 204.2 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1407/0.1407, allocations: 19.71 MB / 280.3 MB, free: 13.06 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.001972/0.001972, allocations: 70.23 kB / 416.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3035, allocations: 60.46 MB / 476.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G): time 0.08116/0.3847, allocations: 76.61 MB / 0.5404 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.405, allocations: 13.22 MB / 0.5533 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.4064, allocations: 35.69 kB / 0.5534 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.4083, allocations: 0.6717 MB / 0.554 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.4104, allocations: 0.9442 MB / 0.555 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0183/0.4287, allocations: 6.459 MB / 0.5613 GB, free: 152 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007257/0.4359, allocations: 5.826 MB / 0.5669 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.4388, allocations: 1.639 MB / 0.5686 GB, free: 8.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.4434, allocations: 2.713 MB / 0.5712 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.4479, allocations: 2.501 MB / 0.5736 GB, free: 3.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.4491, allocations: 0.4922 MB / 0.5741 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.4637, allocations: 6.919 MB / 0.5809 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.4661, allocations: 1.606 MB / 0.5824 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.4691, allocations: 1.864 MB / 0.5843 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.4879, allocations: 9.404 MB / 0.5935 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4879, allocations: 0 / 0.5935 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4879, allocations: 3.938 kB / 0.5935 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001254/0.488, allocations: 0 / 0.5935 GB, free: 15.08 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 867 * Number of variables: 867 Notification: Performance of Generate backend data structure: time 0.02223/0.5103, allocations: 5.996 MB / 0.5993 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5103, allocations: 15.97 kB / 0.5993 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007738/0.5111, allocations: 484.3 kB / 0.5998 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.5145, allocations: 0.6937 MB / 0.6005 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/0.5214, allocations: 2.535 MB / 0.6029 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.5218, allocations: 369.4 kB / 0.6033 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008661/0.5227, allocations: 312 kB / 0.6036 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02076/0.5434, allocations: 8.956 MB / 0.6123 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.5435, allocations: 0 / 0.6123 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.5439, allocations: 128 kB / 0.6125 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.5442, allocations: 202.6 kB / 0.6127 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02356/0.5677, allocations: 9.564 MB / 0.622 GB, free: 1.555 MB / 0.5137 GB 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.03029/0.598, allocations: 14.46 MB / 0.6361 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.244/0.842, allocations: 4.473 MB / 0.6405 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/0.845, allocations: 1.737 MB / 0.6422 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1015/0.9465, allocations: 35.13 MB / 0.6765 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009254/0.9557, allocations: 4.105 MB / 0.6805 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=236): time 5.07e-06/0.9557, allocations: 4 kB / 0.6805 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.05257/1.008, allocations: 15.3 MB / 0.6954 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.008, allocations: 393.8 kB / 0.6958 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/1.011, allocations: 2.306 MB / 0.6981 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007763/1.012, allocations: 61.7 kB / 0.6981 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009262/1.013, allocations: 1.63 MB / 0.6997 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009175/1.014, allocations: 0.889 MB / 0.7006 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/1.015, allocations: 1.083 MB / 0.7017 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/1.015, allocations: 305.1 kB / 0.7019 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/1.019, allocations: 2.835 MB / 0.7047 GB, free: 103 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/1.023, allocations: 4.742 MB / 0.7093 GB, free: 97.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06413/1.087, allocations: 22.35 MB / 0.7312 GB, free: 74.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.427e-05/1.087, allocations: 16 kB / 0.7312 GB, free: 74.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=513) (initialization): time 0.02756/1.115, allocations: 11.87 MB / 0.7428 GB, free: 62.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/1.115, allocations: 91.39 kB / 0.7429 GB, free: 62.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-05/1.115, allocations: 52 kB / 0.7429 GB, free: 62.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02107/1.136, allocations: 5.721 MB / 0.7485 GB, free: 56.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/1.14, allocations: 1.061 MB / 0.7495 GB, free: 55.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03795/1.178, allocations: 25.96 MB / 0.7749 GB, free: 29.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/1.182, allocations: 0.5588 MB / 0.7754 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007867/1.183, allocations: 359.8 kB / 0.7758 GB, free: 28.18 MB / 0.5294 GB Warning: Assuming fixed start value for the following 12 variables: refData.hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[2] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[3] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[4] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[5] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[2] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[3] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[4] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[5] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00513/1.188, allocations: 3.669 MB / 0.7794 GB, free: 24.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00417/1.192, allocations: 4.72 MB / 0.784 GB, free: 18.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05361/1.246, allocations: 20.54 MB / 0.804 GB, free: 13.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.359e-05/1.246, allocations: 16 kB / 0.804 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=513) (initialization_lambda0): time 0.03248/1.278, allocations: 11.74 MB / 0.8155 GB, free: 1.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.278, allocations: 99.38 kB / 0.8156 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/1.278, allocations: 59.94 kB / 0.8157 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02392/1.302, allocations: 5.731 MB / 0.8213 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.306, allocations: 1.045 MB / 0.8223 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05061/1.357, allocations: 26 MB / 0.8477 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/1.361, allocations: 433.7 kB / 0.8481 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008022/1.362, allocations: 359.8 kB / 0.8484 GB, free: 15.79 MB / 0.5919 GB Warning: Assuming fixed start value for the following 12 variables: refData.hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[2] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[3] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[4] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = refData.hex.hstart[5] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] refData.hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[2]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[2] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[3]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[3] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[4]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[4] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[5]:VARIABLE(min = -1e10 max = 1e10 start = hex.hstart[5] unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] hex.h[6]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = \"J/kg\" fixed = true nominal = 5e5 ) \"Fluid specific enthalpy\" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 32 (hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,refData.hex.fluidState[6].phase,refData.hex.fluidState[5].phase,refData.hex.fluidState[4].phase,refData.hex.fluidState[3].phase,refData.hex.fluidState[2].phase,refData.hex.fluidState[1].phase,hex.friction.NoFriction,refData.hex.friction.NoFriction,MassFlowRate.nextEventScaled,MassFlowRate.nextEvent,$PRE.MassFlowRate.nextEvent,MassFlowRate.last,MassFlowRate.b,MassFlowRate.a,refData.MassFlowRate.nextEventScaled,refData.MassFlowRate.nextEvent,$PRE.refData.MassFlowRate.nextEvent,refData.MassFlowRate.last,refData.MassFlowRate.b,refData.MassFlowRate.a,$whenCondition2,$whenCondition1,T_out.fluidState.phase,T_in.fluidState.phase,refData.T_out.fluidState.phase,refData.T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (433): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(6,11), (6,49)} Notification: Performance of prepare postOptimizeDAE: time 0.001614/1.364, allocations: 0.6007 MB / 0.849 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008624/1.365, allocations: 262.4 kB / 0.8493 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2844/1.649, allocations: 32.73 MB / 0.8812 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.338e-05/1.649, allocations: 76.78 kB / 0.8813 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.649, allocations: 0 / 0.8813 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.311e-05/1.649, allocations: 12.28 kB / 0.8813 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04914/1.698, allocations: 44.81 MB / 0.9251 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/1.698, allocations: 3.344 kB / 0.9251 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.701, allocations: 423.2 kB / 0.9255 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0278/1.729, allocations: 7.17 MB / 0.9325 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/1.73, allocations: 111.9 kB / 0.9326 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03931/1.769, allocations: 26.23 MB / 0.9582 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.769, allocations: 0 / 0.9582 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02856/1.798, allocations: 13.4 MB / 0.9713 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/1.8, allocations: 0.801 MB / 0.9721 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006125/1.8, allocations: 95.95 kB / 0.9722 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/1.803, allocations: 155.8 kB / 0.9723 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008969/1.803, allocations: 233.5 kB / 0.9725 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/1.804, allocations: 91.92 kB / 0.9726 GB, free: 114 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001525/1.805, allocations: 1.394 MB / 0.974 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.805, allocations: 0 / 0.974 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008561/1.814, allocations: 3.106 MB / 0.977 GB, free: 109.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (refData.hex.h[1],refData.hex.h[2],refData.hex.h[3],refData.hex.h[4],refData.hex.h[5],refData.hex.h[6],hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6]) * Number of discrete variables: 44 ($cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse48.phase,$cse48.region,$cse49.phase,$cse49.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$whenCondition1,$whenCondition2,refData.MassFlowRate.a,refData.MassFlowRate.b,refData.MassFlowRate.last,refData.MassFlowRate.nextEvent,refData.MassFlowRate.nextEventScaled,MassFlowRate.a,MassFlowRate.b,MassFlowRate.last,MassFlowRate.nextEvent,MassFlowRate.nextEventScaled) * Number of discrete states: 12 (MassFlowRate.nextEvent,MassFlowRate.last,MassFlowRate.nextEventScaled,MassFlowRate.b,MassFlowRate.a,$whenCondition2,refData.MassFlowRate.nextEvent,refData.MassFlowRate.last,refData.MassFlowRate.nextEventScaled,refData.MassFlowRate.b,refData.MassFlowRate.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(6,54), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03198/1.846, allocations: 15.01 MB / 0.9917 GB, free: 94.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02541/1.871, allocations: 12.55 MB / 1.004 GB, free: 81.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.871, allocations: 0 / 1.004 GB, free: 81.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008762/1.88, allocations: 4.01 MB / 1.008 GB, free: 77.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/1.885, allocations: 0.9613 MB / 1.009 GB, free: 76.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09281/1.977, allocations: 47.73 MB / 1.055 GB, free: 27.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/1.979, allocations: 1.9 MB / 1.057 GB, free: 25.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01472/1.994, allocations: 18 MB / 1.075 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/1.996, allocations: 1.543 MB / 1.076 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of SimCode: time 1.854e-06/1.996, allocations: 0 / 1.076 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4427/2.439, allocations: 186.1 MB / 1.258 GB, free: 74.25 MB / 0.6075 GB Error: Error building simulator. Build log: cmd: cd '675.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_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G/675.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_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G/675.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G/675.fmutmp/sources/build_cmake_static [ 0%] Building C object CMakeFiles/675.dir/external_solvers/F77_aloc.c.o [ 1%] Building C object CMakeFiles/675.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/675.dir/external_solvers/dgemv.c.o [ 3%] Building C object CMakeFiles/675.dir/external_solvers/dger.c.o [ 4%] Building C object CMakeFiles/675.dir/external_solvers/dgesv.c.o [ 5%] Building C object CMakeFiles/675.dir/external_solvers/dgetf2.c.o [ 6%] Building C object CMakeFiles/675.dir/external_solvers/dgetrf.c.o [ 6%] Building C object CMakeFiles/675.dir/external_solvers/dgetri.c.o [ 7%] Building C object CMakeFiles/675.dir/external_solvers/dgetrs.c.o [ 8%] Building C object CMakeFiles/675.dir/external_solvers/dlamch.c.o [ 9%] Building C object CMakeFiles/675.dir/external_solvers/dlaswp.c.o [ 10%] Building C object CMakeFiles/675.dir/external_solvers/dogleg_.c.o [ 11%] Building C object CMakeFiles/675.dir/external_solvers/dpmpar_.c.o [ 12%] Building C object CMakeFiles/675.dir/external_solvers/dscal.c.o [ 13%] Building C object CMakeFiles/675.dir/external_solvers/dswap.c.o [ 13%] Building C object CMakeFiles/675.dir/external_solvers/dtrmm.c.o [ 14%] Building C object CMakeFiles/675.dir/external_solvers/dtrmv.c.o [ 15%] Building C object CMakeFiles/675.dir/external_solvers/dtrsm.c.o [ 16%] Building C object CMakeFiles/675.dir/external_solvers/dtrti2.c.o [ 17%] Building C object CMakeFiles/675.dir/external_solvers/dtrtri.c.o [ 18%] Building C object CMakeFiles/675.dir/external_solvers/enorm_.c.o [ 19%] Building C object CMakeFiles/675.dir/external_solvers/exit_.c.o [ 20%] Building C object CMakeFiles/675.dir/external_solvers/hybrj_.c.o [ 20%] Building C object CMakeFiles/675.dir/external_solvers/i_nint.c.o [ 21%] Building C object CMakeFiles/675.dir/external_solvers/idamax.c.o [ 22%] Building C object CMakeFiles/675.dir/external_solvers/ieeeck.c.o [ 23%] Building C object CMakeFiles/675.dir/external_solvers/ilaenv.c.o [ 24%] Building C object CMakeFiles/675.dir/external_solvers/iparmq.c.o [ 25%] Building C object CMakeFiles/675.dir/external_solvers/lsame.c.o [ 26%] Building C object CMakeFiles/675.dir/external_solvers/pow_di.c.o [ 26%] Building C object CMakeFiles/675.dir/external_solvers/qform_.c.o [ 27%] Building C object CMakeFiles/675.dir/external_solvers/qrfac_.c.o [ 28%] Building C object CMakeFiles/675.dir/external_solvers/r1mpyq_.c.o [ 29%] Building C object CMakeFiles/675.dir/external_solvers/r1updt_.c.o [ 30%] Building C object CMakeFiles/675.dir/external_solvers/s_cat.c.o [ 31%] Building C object CMakeFiles/675.dir/external_solvers/s_cmp.c.o [ 32%] Building C object CMakeFiles/675.dir/external_solvers/s_copy.c.o [ 33%] Building C object CMakeFiles/675.dir/external_solvers/xerbla.c.o [ 33%] Building C object CMakeFiles/675.dir/fmi-export/fmu2_model_interface.c.o [ 34%] Building C object CMakeFiles/675.dir/fmi-export/fmu_read_flags.c.o [ 35%] Building C object CMakeFiles/675.dir/gc/memory_pool.c.o [ 36%] Building C object CMakeFiles/675.dir/gc/omc_gc.c.o [ 37%] Building C object CMakeFiles/675.dir/math-support/pivot.c.o [ 38%] Building C object CMakeFiles/675.dir/meta/meta_modelica_catch.c.o [ 39%] Building C object CMakeFiles/675.dir/simulation/arrayIndex.c.o [ 40%] Building C object CMakeFiles/675.dir/simulation/eval_dep.c.o [ 40%] Building C object CMakeFiles/675.dir/simulation/jacobian_util.c.o [ 41%] Building C object CMakeFiles/675.dir/simulation/omc_simulation_util.c.o [ 42%] Building C object CMakeFiles/675.dir/simulation/options.c.o [ 43%] Building C object CMakeFiles/675.dir/simulation/simulation_info_json.c.o [ 44%] Building C object CMakeFiles/675.dir/simulation/simulation_omc_assert.c.o [ 45%] Building C object CMakeFiles/675.dir/simulation/solver/delay.c.o [ 46%] Building C object CMakeFiles/675.dir/simulation/solver/discrete_changes.c.o [ 46%] Building C object CMakeFiles/675.dir/simulation/solver/initialization/initialization.c.o [ 47%] Building C object CMakeFiles/675.dir/simulation/solver/model_help.c.o [ 48%] Building C object CMakeFiles/675.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 49%] Building C object CMakeFiles/675.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 50%] Building C object CMakeFiles/675.dir/simulation/solver/nonlinearSystem.c.o [ 51%] Building C object CMakeFiles/675.dir/simulation/solver/nonlinearValuesList.c.o [ 52%] Building C object CMakeFiles/675.dir/simulation/solver/omc_math.c.o [ 53%] Building C object CMakeFiles/675.dir/simulation/solver/spatialDistribution.c.o [ 53%] Building C object CMakeFiles/675.dir/simulation/solver/stateset.c.o [ 54%] Building C object CMakeFiles/675.dir/simulation/solver/synchronous.c.o [ 55%] Building C object CMakeFiles/675.dir/util/ModelicaUtilities.c.o [ 56%] Building C object CMakeFiles/675.dir/util/base_array.c.o [ 57%] Building C object CMakeFiles/675.dir/util/boolean_array.c.o [ 58%] Building C object CMakeFiles/675.dir/util/context.c.o [ 59%] Building C object CMakeFiles/675.dir/util/division.c.o [ 60%] Building C object CMakeFiles/675.dir/util/doubleEndedList.c.o [ 60%] Building C object CMakeFiles/675.dir/util/generic_array.c.o [ 61%] Building C object CMakeFiles/675.dir/util/index_spec.c.o [ 62%] Building C object CMakeFiles/675.dir/util/integer_array.c.o [ 63%] Building C object CMakeFiles/675.dir/util/list.c.o [ 64%] Building C object CMakeFiles/675.dir/util/modelica_string.c.o [ 65%] Building C object CMakeFiles/675.dir/util/modelica_string_lit.c.o [ 66%] Building C object CMakeFiles/675.dir/util/omc_error.c.o [ 66%] Building C object CMakeFiles/675.dir/util/omc_file.c.o [ 67%] Building C object CMakeFiles/675.dir/util/omc_init.c.o [ 68%] Building C object CMakeFiles/675.dir/util/omc_mmap.c.o [ 69%] Building C object CMakeFiles/675.dir/util/omc_msvc.c.o [ 70%] Building C object CMakeFiles/675.dir/util/omc_numbers.c.o [ 71%] Building C object CMakeFiles/675.dir/util/parallel_helper.c.o [ 72%] Building C object CMakeFiles/675.dir/util/rational.c.o [ 73%] Building C object CMakeFiles/675.dir/util/real_array.c.o [ 73%] Building C object CMakeFiles/675.dir/util/ringbuffer.c.o [ 74%] Building C object CMakeFiles/675.dir/util/simulation_options.c.o [ 75%] Building C object CMakeFiles/675.dir/util/string_array.c.o [ 76%] Building C object CMakeFiles/675.dir/util/utility.c.o [ 77%] Building C object CMakeFiles/675.dir/util/varinfo.c.o [ 78%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G.c.o [ 79%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_01exo.c.o [ 80%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_02nls.c.o [ 80%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_03lsy.c.o [ 81%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_04set.c.o [ 82%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_05evt.c.o [ 83%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_06inz.c.o [ 84%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_07dly.c.o [ 85%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_08bnd.c.o [ 86%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_08bnd_part0.c.o [ 86%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_08bnd_part1.c.o [ 87%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_09alg.c.o [ 88%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_10asr.c.o [ 89%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_11mix.c.o [ 90%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_12jac.c.o [ 91%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_13opt.c.o [ 92%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_14lnz.c.o [ 93%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_15syn.c.o [ 93%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_16dae.c.o [ 94%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_17inl.c.o [ 95%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_18spd.c.o [ 96%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_FMU.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G/675.fmutmp/sources/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_FMU.c:1:10: fatal error: 'ThermoPower_4_0_0_dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_FMU.h' file not found #include \"ThermoPower_4_0_0_dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_FMU.h\" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake[2]: *** [CMakeFiles/675.dir/build.make:1616: CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_FMU.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/675.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 " [Timeout remaining time 642] [Calling sys.exit(0), Time elapsed: 20.343488066107966] Failed to read output from testmodel.py, exit status != 0: 18.04190821701195 18.058534651 17.567174342 Calling exit ...