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.001697/0.001697, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001967/0.001967, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.164/0.164, allocations: 26.83 MB / 340.8 MB, free: 7.973 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.001993/0.001993, allocations: 63.91 kB / 476.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3621, allocations: 60.48 MB / 0.5247 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G): time 0.0826/0.4447, allocations: 76.99 MB / 0.5999 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.4645, allocations: 13.24 MB / 0.6128 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.4656, allocations: 31.69 kB / 0.6128 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.4674, allocations: 0.6757 MB / 0.6135 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.4695, allocations: 0.9364 MB / 0.6144 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01834/0.4878, allocations: 6.471 MB / 0.6207 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006992/0.4948, allocations: 5.833 MB / 0.6264 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.4975, allocations: 1.643 MB / 0.628 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.5008, allocations: 1.929 MB / 0.6299 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.5051, allocations: 2.501 MB / 0.6324 GB, free: 6.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.5062, allocations: 0.496 MB / 0.6328 GB, free: 5.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/0.5204, allocations: 6.911 MB / 0.6396 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.5226, allocations: 1.606 MB / 0.6412 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002951/0.5256, allocations: 1.864 MB / 0.643 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.5449, allocations: 9.404 MB / 0.6522 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.545, allocations: 0 / 0.6522 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.545, allocations: 0 / 0.6522 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.5451, allocations: 3.938 kB / 0.6522 GB, free: 1.938 MB / 494.1 MB 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.02233/0.5674, allocations: 5.996 MB / 0.658 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5675, allocations: 12.03 kB / 0.658 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007646/0.5683, allocations: 472.4 kB / 0.6585 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.5715, allocations: 0.6976 MB / 0.6592 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007471/0.579, allocations: 2.543 MB / 0.6617 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.5794, allocations: 361.4 kB / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008138/0.5802, allocations: 312 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.6003, allocations: 8.964 MB / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.6004, allocations: 0 / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008836/0.6013, allocations: 132 kB / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.6015, allocations: 198.5 kB / 0.6714 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0234/0.6249, allocations: 9.564 MB / 0.6807 GB, free: 4.414 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.03217/0.6571, allocations: 14.46 MB / 0.6948 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.6685, allocations: 4.479 MB / 0.6992 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/0.6717, allocations: 1.733 MB / 0.7009 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3555/1.027, allocations: 35.12 MB / 0.7352 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01092/1.038, allocations: 4.112 MB / 0.7392 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 6.693e-06/1.038, allocations: 0 / 0.7392 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236): time 0.05883/1.097, allocations: 15.31 MB / 0.7542 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/1.097, allocations: 399.3 kB / 0.7545 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/1.1, allocations: 2.295 MB / 0.7568 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000852/1.101, allocations: 67.58 kB / 0.7568 GB, free: 175 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009762/1.102, allocations: 1.618 MB / 0.7584 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.104, allocations: 0.8942 MB / 0.7593 GB, free: 173 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002735/1.106, allocations: 1.088 MB / 0.7604 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/1.106, allocations: 305.1 kB / 0.7607 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/1.11, allocations: 2.835 MB / 0.7634 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/1.115, allocations: 4.741 MB / 0.7681 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06683/1.182, allocations: 22.33 MB / 0.7899 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.811e-05/1.182, allocations: 12 kB / 0.7899 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=513) (initialization): time 0.03131/1.213, allocations: 11.87 MB / 0.8015 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.214, allocations: 97.98 kB / 0.8016 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.624e-05/1.214, allocations: 52 kB / 0.8016 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02229/1.236, allocations: 5.723 MB / 0.8072 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/1.24, allocations: 1.057 MB / 0.8082 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04054/1.28, allocations: 25.96 MB / 0.8336 GB, free: 97.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/1.285, allocations: 0.5588 MB / 0.8341 GB, free: 96.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.286, allocations: 359.8 kB / 0.8345 GB, free: 96.62 MB / 0.5606 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.005973/1.292, allocations: 3.649 MB / 0.838 GB, free: 92.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004792/1.297, allocations: 4.724 MB / 0.8426 GB, free: 87.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0545/1.351, allocations: 20.55 MB / 0.8627 GB, free: 65.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.307e-05/1.351, allocations: 20 kB / 0.8627 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=513) (initialization_lambda0): time 0.03099/1.382, allocations: 11.74 MB / 0.8742 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.382, allocations: 91.61 kB / 0.8743 GB, free: 54.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.199e-05/1.383, allocations: 60 kB / 0.8743 GB, free: 54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02202/1.405, allocations: 5.73 MB / 0.8799 GB, free: 48.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/1.408, allocations: 1.045 MB / 0.881 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04014/1.448, allocations: 26 MB / 0.9063 GB, free: 21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.452, allocations: 437.6 kB / 0.9068 GB, free: 20.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/1.454, allocations: 351.8 kB / 0.9071 GB, free: 20.23 MB / 0.5606 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.002203/1.456, allocations: 0.6106 MB / 0.9077 GB, free: 19.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.457, allocations: 270.3 kB / 0.908 GB, free: 19.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04676/1.504, allocations: 32.7 MB / 0.9399 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.03e-05/1.504, allocations: 71.91 kB / 0.94 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.504, allocations: 3.938 kB / 0.94 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/1.504, allocations: 11.95 kB / 0.94 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2962/1.8, allocations: 44.81 MB / 0.9837 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/1.8, allocations: 0 / 0.9837 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.803, allocations: 418.3 kB / 0.9841 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02909/1.832, allocations: 7.158 MB / 0.9911 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001139/1.833, allocations: 115.9 kB / 0.9912 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04093/1.874, allocations: 26.21 MB / 1.017 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.874, allocations: 0 / 1.017 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03154/1.905, allocations: 13.41 MB / 1.03 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.908, allocations: 0.8011 MB / 1.031 GB, free: 152.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.909, allocations: 97.88 kB / 1.031 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.912, allocations: 151.8 kB / 1.031 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/1.913, allocations: 229.5 kB / 1.031 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005731/1.914, allocations: 99.91 kB / 1.031 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002123/1.916, allocations: 1.393 MB / 1.033 GB, free: 150.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.916, allocations: 0 / 1.033 GB, free: 150.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01022/1.926, allocations: 3.099 MB / 1.036 GB, free: 147.4 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.03448/1.961, allocations: 15.01 MB / 1.05 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02604/1.987, allocations: 12.54 MB / 1.063 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.987, allocations: 8 kB / 1.063 GB, free: 119.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009979/1.997, allocations: 4.011 MB / 1.066 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005945/2.003, allocations: 0.9689 MB / 1.067 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1034/2.106, allocations: 47.71 MB / 1.114 GB, free: 65.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/2.108, allocations: 1.904 MB / 1.116 GB, free: 63.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01476/2.123, allocations: 18 MB / 1.133 GB, free: 45.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/2.126, allocations: 1.546 MB / 1.135 GB, free: 43.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.372e-06/2.126, allocations: 0 / 1.135 GB, free: 43.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4609/2.587, allocations: 185.7 MB / 1.316 GB, free: 111.7 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 [ 7%] 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 [ 14%] 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 [ 21%] 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 [ 27%] Building C object CMakeFiles/675.dir/external_solvers/qform_.c.o [ 28%] 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 [ 34%] Building C object CMakeFiles/675.dir/fmi-export/fmu2_model_interface.c.o [ 35%] 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/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 [ 42%] Building C object CMakeFiles/675.dir/simulation/simulation_info_json.c.o [ 43%] Building C object CMakeFiles/675.dir/simulation/simulation_omc_assert.c.o [ 44%] Building C object CMakeFiles/675.dir/simulation/solver/delay.c.o [ 45%] Building C object CMakeFiles/675.dir/simulation/solver/fmi_events.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 [ 50%] Building C object CMakeFiles/675.dir/simulation/solver/nonlinearValuesList.c.o [ 51%] Building C object CMakeFiles/675.dir/simulation/solver/omc_math.c.o [ 52%] 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 [ 57%] Building C object CMakeFiles/675.dir/util/context.c.o [ 58%] Building C object CMakeFiles/675.dir/util/division.c.o [ 59%] 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 [ 64%] Building C object CMakeFiles/675.dir/util/modelica_string_lit.c.o [ 65%] 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 [ 71%] Building C object CMakeFiles/675.dir/util/rational.c.o [ 72%] 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 [ 78%] Building C object CMakeFiles/675.dir/ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEMnm_G_01exo.c.o [ 79%] 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 [ 85%] 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 [ 92%] 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:1602: 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.42931627598591] Failed to read output from testmodel.py, exit status != 0: 17.92084361205343 17.940482925 17.391682543 Calling exit ...