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.001096/0.001096, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001059/0.001059, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9477/0.9477, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 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.1154/0.1154, allocations: 19.73 MB / 280.4 MB, free: 9.48 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0.75 kB / 416.6 MB, free: 7.609 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/3.101e-05, allocations: 4.141 kB / 416.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G): time 0.0658/0.06583, allocations: 76.35 MB / 492.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.08046, allocations: 13.24 MB / 0.4943 GB, free: 9.254 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.0821, allocations: 39.62 kB / 0.4943 GB, free: 9.215 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.08402, allocations: 0.6792 MB / 0.495 GB, free: 8.531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.08649, allocations: 0.9783 MB / 0.496 GB, free: 7.547 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.1025, allocations: 6.551 MB / 0.5024 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005915/0.1084, allocations: 5.96 MB / 0.5082 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.1112, allocations: 1.658 MB / 0.5098 GB, free: 9.332 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.1162, allocations: 2.659 MB / 0.5124 GB, free: 6.668 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.1204, allocations: 2.39 MB / 0.5147 GB, free: 4.273 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.1219, allocations: 0.4922 MB / 0.5152 GB, free: 3.781 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01284/0.1348, allocations: 6.914 MB / 0.522 GB, free: 12.86 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.1374, allocations: 1.645 MB / 0.5236 GB, free: 11.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.1411, allocations: 1.649 MB / 0.5252 GB, free: 9.555 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.1601, allocations: 10.67 MB / 0.5356 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1601, allocations: 0 / 0.5356 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1601, allocations: 3.938 kB / 0.5356 GB, free: 14.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002067/0.1603, allocations: 8 kB / 0.5356 GB, free: 14.84 MB / 458.7 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.01732/0.1776, allocations: 5.957 MB / 0.5414 GB, free: 8.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.1777, allocations: 8.031 kB / 0.5414 GB, free: 8.812 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001952/0.1796, allocations: 488.3 kB / 0.5419 GB, free: 8.324 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.1823, allocations: 0.6937 MB / 0.5426 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/0.1877, allocations: 2.542 MB / 0.5451 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/0.1882, allocations: 353.6 kB / 0.5454 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/0.19, allocations: 312.4 kB / 0.5457 GB, free: 4.379 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.2074, allocations: 8.964 MB / 0.5545 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.2075, allocations: 3.984 kB / 0.5545 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005662/0.208, allocations: 136 kB / 0.5546 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.2082, allocations: 194.6 kB / 0.5548 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.2259, allocations: 9.564 MB / 0.5641 GB, free: 1.359 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.2529, allocations: 14.45 MB / 0.5782 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.2603, allocations: 4.487 MB / 0.5826 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/0.263, allocations: 1.737 MB / 0.5843 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2661/0.5291, allocations: 35.11 MB / 0.6186 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006755/0.5358, allocations: 4.111 MB / 0.6226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=236): time 5.551e-06/0.5358, allocations: 3.469 kB / 0.6226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.03246/0.5683, allocations: 15.3 MB / 0.6376 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.5684, allocations: 397.8 kB / 0.6379 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.5703, allocations: 2.3 MB / 0.6402 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009283/0.5713, allocations: 65.7 kB / 0.6402 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008336/0.5721, allocations: 1.601 MB / 0.6418 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/0.5735, allocations: 0.8777 MB / 0.6427 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.5746, allocations: 1.079 MB / 0.6437 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.707e-05/0.5747, allocations: 305.1 kB / 0.644 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.5776, allocations: 2.839 MB / 0.6468 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/0.5816, allocations: 4.749 MB / 0.6514 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04047/0.622, allocations: 22.33 MB / 0.6732 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.668e-05/0.6221, allocations: 12 kB / 0.6732 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01963/0.6417, allocations: 11.87 MB / 0.6848 GB, free: 97.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.6418, allocations: 95.33 kB / 0.6849 GB, free: 97.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.385e-05/0.6419, allocations: 55.67 kB / 0.685 GB, free: 97.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/0.6545, allocations: 5.727 MB / 0.6906 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.6572, allocations: 1.057 MB / 0.6916 GB, free: 90.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0269/0.6841, allocations: 25.95 MB / 0.717 GB, free: 64.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.6876, allocations: 0.5694 MB / 0.7175 GB, free: 63.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/0.6889, allocations: 359.8 kB / 0.7179 GB, free: 63.59 MB / 0.4948 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.00517/0.6941, allocations: 3.649 MB / 0.7214 GB, free: 59.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003873/0.698, allocations: 4.724 MB / 0.726 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03318/0.7311, allocations: 20.54 MB / 0.7461 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-05/0.7312, allocations: 16 kB / 0.7461 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=513) (initialization_lambda0): time 0.02044/0.7516, allocations: 11.74 MB / 0.7576 GB, free: 21.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.7517, allocations: 95.38 kB / 0.7577 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.7517, allocations: 56.88 kB / 0.7577 GB, free: 20.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/0.7637, allocations: 5.735 MB / 0.7633 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.7659, allocations: 1.049 MB / 0.7643 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02871/0.7946, allocations: 25.99 MB / 0.7897 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/0.798, allocations: 433.7 kB / 0.7901 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008274/0.7988, allocations: 363.6 kB / 0.7905 GB, free: 3.211 MB / 0.5105 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.001461/0.8003, allocations: 0.6055 MB / 0.7911 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/0.801, allocations: 266.3 kB / 0.7913 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2425/1.044, allocations: 32.72 MB / 0.8233 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/1.044, allocations: 76.98 kB / 0.8233 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.044, allocations: 0 / 0.8233 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/1.044, allocations: 10.36 kB / 0.8234 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03997/1.084, allocations: 44.81 MB / 0.8671 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/1.084, allocations: 0 / 0.8671 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.085, allocations: 423.8 kB / 0.8675 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01611/1.101, allocations: 7.158 MB / 0.8745 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009091/1.102, allocations: 115.9 kB / 0.8746 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/1.129, allocations: 26.22 MB / 0.9002 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.129, allocations: 0 / 0.9002 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.15, allocations: 13.4 MB / 0.9133 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.153, allocations: 0.7984 MB / 0.9141 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007363/1.153, allocations: 99.14 kB / 0.9142 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.155, allocations: 155.8 kB / 0.9143 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008703/1.156, allocations: 226.2 kB / 0.9145 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.156, allocations: 99.91 kB / 0.9146 GB, free: 73.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001459/1.158, allocations: 1.39 MB / 0.916 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/1.158, allocations: 1.203 kB / 0.916 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01152/1.169, allocations: 3.095 MB / 0.919 GB, free: 68.74 MB / 0.5105 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.02429/1.193, allocations: 15.15 MB / 0.9338 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02005/1.213, allocations: 12.54 MB / 0.9461 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.213, allocations: 0 / 0.9461 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007002/1.22, allocations: 4.011 MB / 0.95 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/1.224, allocations: 0.9657 MB / 0.9509 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2524/1.477, allocations: 47.53 MB / 0.9973 GB, free: 157 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/1.479, allocations: 1.899 MB / 0.9992 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01458/1.494, allocations: 18.01 MB / 1.017 GB, free: 154 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/1.496, allocations: 1.547 MB / 1.018 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/1.496, allocations: 0 / 1.018 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3677/1.864, allocations: 185.8 MB / 1.2 GB, free: 171.9 MB / 0.5261 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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEMnm_G/675.fmutmp/sources/fmi -- 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/jenkins/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 (0.3s) -- Generating done (0.0s) -- Build files have been written to: /var/lib/jenkins/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/jenkins/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 1 | #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 648] [Calling sys.exit(0), Time elapsed: 13.78463361877948] Failed to read output from testmodel.py, exit status != 0: 11.822294786572456 11.83401788 11.671816035 Calling exit ...