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.001345/0.001345, 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.001425/0.001425, allocations: 208.1 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.463/1.463, 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.1603/0.1603, allocations: 26.85 MB / 340.8 MB, free: 7.934 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.002431/0.002431, allocations: 74.33 kB / 476.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4141, allocations: 60.49 MB / 0.5247 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G): time 0.08831/0.5024, allocations: 76.99 MB / 0.5999 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02026/0.5227, allocations: 13.24 MB / 0.6128 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.5241, allocations: 35.69 kB / 0.6129 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.526, allocations: 0.6718 MB / 0.6135 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.5285, allocations: 0.9442 MB / 0.6144 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02008/0.5486, allocations: 6.466 MB / 0.6207 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007716/0.5563, allocations: 5.821 MB / 0.6264 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/0.5597, allocations: 1.639 MB / 0.628 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.5639, allocations: 1.941 MB / 0.6299 GB, free: 8.734 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005528/0.5695, allocations: 2.501 MB / 0.6324 GB, free: 6.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.5708, allocations: 0.4922 MB / 0.6328 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.5867, allocations: 6.907 MB / 0.6396 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002418/0.5891, allocations: 1.609 MB / 0.6412 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003259/0.5923, allocations: 1.86 MB / 0.643 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.6098, allocations: 9.404 MB / 0.6522 GB, free: 1.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6098, allocations: 0 / 0.6522 GB, free: 1.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6098, allocations: 4 kB / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001495/0.61, allocations: 0 / 0.6522 GB, free: 1.906 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.02346/0.6334, allocations: 5.992 MB / 0.658 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6335, allocations: 8.031 kB / 0.658 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008037/0.6343, allocations: 488.3 kB / 0.6585 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.6377, allocations: 0.6937 MB / 0.6592 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007395/0.6451, allocations: 2.547 MB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/0.6455, allocations: 357.4 kB / 0.662 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.6466, allocations: 312 kB / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.6682, allocations: 8.96 MB / 0.671 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.6683, allocations: 7.922 kB / 0.6711 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/0.6688, allocations: 128 kB / 0.6712 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.669, allocations: 202.5 kB / 0.6714 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.6937, allocations: 9.564 MB / 0.6807 GB, free: 4.375 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.03447/0.7282, allocations: 14.46 MB / 0.6948 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.7405, allocations: 4.472 MB / 0.6992 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/0.7442, allocations: 1.74 MB / 0.7009 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4056/1.15, allocations: 35.11 MB / 0.7352 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01237/1.162, allocations: 4.104 MB / 0.7392 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 7.524e-06/1.162, allocations: 0 / 0.7392 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236): time 0.05959/1.222, allocations: 15.32 MB / 0.7542 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.222, allocations: 401.8 kB / 0.7545 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.225, allocations: 2.299 MB / 0.7568 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008739/1.226, allocations: 61.23 kB / 0.7568 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009401/1.227, allocations: 1.625 MB / 0.7584 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.228, allocations: 0.8842 MB / 0.7593 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/1.229, allocations: 1.089 MB / 0.7604 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/1.229, allocations: 305 kB / 0.7607 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/1.233, allocations: 2.835 MB / 0.7634 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/1.238, allocations: 4.739 MB / 0.768 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06936/1.307, allocations: 22.33 MB / 0.7899 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-05/1.307, allocations: 16 kB / 0.7899 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=513) (initialization): time 0.03057/1.338, allocations: 11.87 MB / 0.8015 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.338, allocations: 95.33 kB / 0.8016 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.427e-05/1.338, allocations: 52 kB / 0.8016 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/1.361, allocations: 5.724 MB / 0.8072 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/1.365, allocations: 1.057 MB / 0.8082 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03995/1.405, allocations: 25.96 MB / 0.8336 GB, free: 96.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/1.41, allocations: 0.5612 MB / 0.8341 GB, free: 96.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.411, allocations: 360.6 kB / 0.8345 GB, free: 95.87 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.005011/1.416, allocations: 3.659 MB / 0.838 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004205/1.42, allocations: 4.724 MB / 0.8427 GB, free: 86.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05584/1.476, allocations: 20.54 MB / 0.8627 GB, free: 65.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.878e-05/1.476, allocations: 16 kB / 0.8627 GB, free: 65.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=513) (initialization_lambda0): time 0.03024/1.506, allocations: 11.75 MB / 0.8742 GB, free: 53.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.506, allocations: 102.8 kB / 0.8743 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.846e-05/1.506, allocations: 59.88 kB / 0.8743 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02286/1.529, allocations: 5.724 MB / 0.8799 GB, free: 47.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/1.533, allocations: 1.045 MB / 0.881 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04007/1.573, allocations: 26.01 MB / 0.9064 GB, free: 20.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00492/1.578, allocations: 433.7 kB / 0.9068 GB, free: 19.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.579, allocations: 359.8 kB / 0.9071 GB, free: 19.48 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.001412/1.58, allocations: 0.6002 MB / 0.9077 GB, free: 18.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008395/1.581, allocations: 262.4 kB / 0.908 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04838/1.629, allocations: 32.7 MB / 0.9399 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/1.629, allocations: 71.91 kB / 0.94 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.629, allocations: 3.938 kB / 0.94 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.16e-05/1.63, allocations: 11.95 kB / 0.94 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3381/1.968, allocations: 44.8 MB / 0.9837 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/1.968, allocations: 3.75 kB / 0.9837 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.97, allocations: 418.1 kB / 0.9841 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03019/2, allocations: 7.165 MB / 0.9911 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000851/2.001, allocations: 122.4 kB / 0.9912 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03968/2.041, allocations: 26.2 MB / 1.017 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.041, allocations: 0 / 1.017 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0303/2.071, allocations: 13.41 MB / 1.03 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/2.073, allocations: 0.7991 MB / 1.031 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000513/2.074, allocations: 102.8 kB / 1.031 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/2.076, allocations: 151.8 kB / 1.031 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009093/2.077, allocations: 227 kB / 1.031 GB, free: 150.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/2.077, allocations: 95.91 kB / 1.031 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00157/2.079, allocations: 1.398 MB / 1.033 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.079, allocations: 0 / 1.033 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009512/2.088, allocations: 3.088 MB / 1.036 GB, free: 145.8 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.03459/2.123, allocations: 15.03 MB / 1.05 GB, free: 130.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02613/2.149, allocations: 12.55 MB / 1.063 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/2.149, allocations: 0 / 1.063 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008952/2.158, allocations: 4.012 MB / 1.066 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/2.162, allocations: 0.9597 MB / 1.067 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09722/2.26, allocations: 47.72 MB / 1.114 GB, free: 63.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/2.261, allocations: 1.912 MB / 1.116 GB, free: 61.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01465/2.276, allocations: 18 MB / 1.133 GB, free: 43.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/2.279, allocations: 1.546 MB / 1.135 GB, free: 42.31 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/2.279, allocations: 0 / 1.135 GB, free: 42.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5233/2.802, allocations: 185.7 MB / 1.316 GB, free: 99.09 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 641] [Calling sys.exit(0), Time elapsed: 21.153081224067137] Failed to read output from testmodel.py, exit status != 0: 18.523921932908706 18.533118359 17.920794535 Calling exit ...