Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9888/0.9888, allocations: 205.2 MB / 213.1 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 98.38 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5037/0.5037, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.24e-06, allocations: 0 / 471.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 66.26 MB / 0.5253 GB, free: 28.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.79/20.05, allocations: 12.86 GB / 13.38 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/20.05, allocations: 86.22 kB / 13.38 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.34/29.39, allocations: 3.656 GB / 17.04 GB, free: 51 MB / 0.8395 GB Notification: Performance of Transformations before backend: time 0.0002672/29.39, allocations: 154.3 kB / 17.04 GB, free: 50.86 MB / 0.8395 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1646 * Number of variables: 1646 Notification: Performance of Generate backend data structure: time 0.07145/29.46, allocations: 11.04 MB / 17.05 GB, free: 42.84 MB / 0.8395 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/29.46, allocations: 8.031 kB / 17.05 GB, free: 42.83 MB / 0.8395 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004609/29.47, allocations: 1.183 MB / 17.05 GB, free: 41.95 MB / 0.8395 GB Error: Variable init_B in package ThermofluidStream.Undirected.HeatExchangers.DiscretizedCounterFlowHEX$discretizedHEX is not constant. Error: Variable init_A in package ThermofluidStream.Undirected.HeatExchangers.DiscretizedCounterFlowHEX$discretizedHEX is not constant. Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/29.47, allocations: 3.782 MB / 17.06 GB, free: 39.68 MB / 0.8395 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/29.47, allocations: 200.2 kB / 17.06 GB, free: 39.5 MB / 0.8395 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007034/29.47, allocations: 352.7 kB / 17.06 GB, free: 39.16 MB / 0.8395 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01129/29.48, allocations: 10.65 MB / 17.07 GB, free: 33.48 MB / 0.8395 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/29.5, allocations: 9.702 MB / 17.08 GB, free: 28.23 MB / 0.8395 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.686e-05/29.5, allocations: 3.938 kB / 17.08 GB, free: 28.23 MB / 0.8395 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005034/29.5, allocations: 8 kB / 17.08 GB, free: 28.22 MB / 0.8395 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004212/29.5, allocations: 0.5092 MB / 17.08 GB, free: 27.89 MB / 0.8395 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03747/29.53, allocations: 43.81 MB / 17.12 GB, free: 11.14 MB / 0.8551 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008288/29.54, allocations: 7.211 MB / 17.13 GB, free: 7.293 MB / 0.8551 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005694/29.55, allocations: 5.301 MB / 17.13 GB, free: 2.582 MB / 0.8551 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00633/29.55, allocations: 5.552 MB / 17.14 GB, free: 12.51 MB / 0.8708 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/29.55, allocations: 90.78 kB / 17.14 GB, free: 12.41 MB / 0.8708 GB Notification: Performance of pre-optimization done (n=687): time 7.765e-06/29.55, allocations: 0 / 17.14 GB, free: 12.41 MB / 0.8708 GB Notification: Performance of matching and sorting (n=687): time 0.0225/29.58, allocations: 12.27 MB / 17.15 GB, free: 2.258 MB / 0.8708 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/29.58, allocations: 159 kB / 17.15 GB, free: 2.074 MB / 0.8708 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/29.58, allocations: 2.54 MB / 17.15 GB, free: 15.88 MB / 0.8864 GB Notification: Performance of collectPreVariables (initialization): time 0.0003873/29.58, allocations: 25.7 kB / 17.15 GB, free: 15.85 MB / 0.8864 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/29.58, allocations: 1.74 MB / 17.15 GB, free: 14.32 MB / 0.8864 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/29.58, allocations: 2.216 MB / 17.16 GB, free: 12.27 MB / 0.8864 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/29.58, allocations: 0 / 17.16 GB, free: 12.27 MB / 0.8864 GB Notification: Performance of setup shared object (initialization): time 0.0003935/29.58, allocations: 0.5932 MB / 17.16 GB, free: 11.76 MB / 0.8864 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005914/29.59, allocations: 4.939 MB / 17.16 GB, free: 7.465 MB / 0.8864 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006694/29.6, allocations: 6.187 MB / 17.17 GB, free: 1.574 MB / 0.8864 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[10].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[10].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[9].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[9].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[8].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[8].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[7].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[7].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[6].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[6].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[5].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[5].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[4].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[4].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[3].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[3].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[2].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[2].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[1].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementA[1].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[10].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[10].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[9].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[9].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[8].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[8].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[7].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[7].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[6].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[6].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[5].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[5].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[4].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[4].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[3].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[3].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[2].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[2].deltaE_system = 0.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[1].deltaE_system = 0.0 ($START.discretizedHEX.thermalElementB[1].deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.02088/29.62, allocations: 9.494 MB / 17.18 GB, free: 10.29 MB / 0.902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/29.62, allocations: 8 kB / 17.18 GB, free: 10.28 MB / 0.902 GB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02519/29.64, allocations: 14.2 MB / 17.19 GB, free: 12 MB / 0.9176 GB Notification: Performance of prepare postOptimizeDAE: time 0.2755/29.92, allocations: 13.13 MB / 17.2 GB, free: 167.8 MB / 0.9176 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.92e-05/29.92, allocations: 32.38 kB / 17.2 GB, free: 167.8 MB / 0.9176 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/29.92, allocations: 0.894 MB / 17.2 GB, free: 167.7 MB / 0.9176 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006622/29.93, allocations: 1.74 MB / 17.21 GB, free: 167.7 MB / 0.9176 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/29.94, allocations: 19.72 MB / 17.22 GB, free: 153.6 MB / 0.9176 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005476/29.94, allocations: 0.8101 MB / 17.23 GB, free: 153.6 MB / 0.9176 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007361/29.94, allocations: 485.9 kB / 17.23 GB, free: 153.6 MB / 0.9176 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-06/29.94, allocations: 4.281 kB / 17.23 GB, free: 153.6 MB / 0.9176 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02222/29.97, allocations: 13.71 MB / 17.24 GB, free: 153.3 MB / 0.9176 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-05/29.97, allocations: 29.97 kB / 17.24 GB, free: 153.3 MB / 0.9176 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/29.97, allocations: 0.898 MB / 17.24 GB, free: 153.2 MB / 0.9176 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/29.97, allocations: 1.725 MB / 17.24 GB, free: 153.2 MB / 0.9176 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/29.99, allocations: 19.73 MB / 17.26 GB, free: 139.1 MB / 0.9176 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/29.99, allocations: 0.7457 MB / 17.26 GB, free: 139 MB / 0.9176 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007817/29.99, allocations: 486.8 kB / 17.26 GB, free: 139 MB / 0.9176 GB Warning: Assuming redundant initial conditions for the following 20 initial equations: discretizedHEX.thermalElementA[10].deltaE_system = 0.0 discretizedHEX.thermalElementA[9].deltaE_system = 0.0 discretizedHEX.thermalElementA[8].deltaE_system = 0.0 discretizedHEX.thermalElementA[7].deltaE_system = 0.0 discretizedHEX.thermalElementA[6].deltaE_system = 0.0 discretizedHEX.thermalElementA[5].deltaE_system = 0.0 discretizedHEX.thermalElementA[4].deltaE_system = 0.0 discretizedHEX.thermalElementA[3].deltaE_system = 0.0 discretizedHEX.thermalElementA[2].deltaE_system = 0.0 discretizedHEX.thermalElementA[1].deltaE_system = 0.0 discretizedHEX.thermalElementB[10].deltaE_system = 0.0 discretizedHEX.thermalElementB[9].deltaE_system = 0.0 discretizedHEX.thermalElementB[8].deltaE_system = 0.0 discretizedHEX.thermalElementB[7].deltaE_system = 0.0 discretizedHEX.thermalElementB[6].deltaE_system = 0.0 discretizedHEX.thermalElementB[5].deltaE_system = 0.0 discretizedHEX.thermalElementB[4].deltaE_system = 0.0 discretizedHEX.thermalElementB[3].deltaE_system = 0.0 discretizedHEX.thermalElementB[2].deltaE_system = 0.0 discretizedHEX.thermalElementB[1].deltaE_system = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 56 (discretizedHEX.thermalElementA[10].init,discretizedHEX.thermalElementA[9].init,discretizedHEX.thermalElementA[8].init,discretizedHEX.thermalElementA[7].init,discretizedHEX.thermalElementA[6].init,discretizedHEX.thermalElementA[5].init,discretizedHEX.thermalElementA[4].init,discretizedHEX.thermalElementA[3].init,discretizedHEX.thermalElementA[2].init,discretizedHEX.thermalElementA[1].init,discretizedHEX.thermalElementB[10].init,discretizedHEX.thermalElementB[9].init,discretizedHEX.thermalElementB[8].init,discretizedHEX.thermalElementB[7].init,discretizedHEX.thermalElementB[6].init,discretizedHEX.thermalElementB[5].init,discretizedHEX.thermalElementB[4].init,discretizedHEX.thermalElementB[3].init,discretizedHEX.thermalElementB[2].init,discretizedHEX.thermalElementB[1].init,boundary_fore1.rear.state_rearwards.phase,boundary_fore1.rear.state_forwards.phase,discretizedHEX.thermalElementB[1].fore.state_rearwards.phase,discretizedHEX.thermalElementB[1].fore.state_forwards.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX.thermalElementB[2].fore.state_forwards.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].state.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].state.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[8].fore.state_forwards.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[10].rear.state_rearwards.phase,discretizedHEX.thermalElementB[10].rear.state_forwards.phase,discretizedHEX.thermalElementB[10].state.phase,discretizedHEX.rearB.state_rearwards.phase,discretizedHEX.rearB.state_forwards.phase,discretizedHEX.foreB.state_rearwards.phase,discretizedHEX.foreB.state_forwards.phase,multiSensor_Tpm2.state.phase,multiSensor_Tpm3.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (719): * Single equations (assignments): 643 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 38 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 12,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001123/29.99, allocations: 370.2 kB / 17.26 GB, free: 138.9 MB / 0.9176 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000879/29.99, allocations: 441.8 kB / 17.26 GB, free: 138.7 MB / 0.9176 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02944/30.02, allocations: 16.91 MB / 17.28 GB, free: 138.1 MB / 0.9176 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02007/30.04, allocations: 12.74 MB / 17.29 GB, free: 137.7 MB / 0.9176 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/30.04, allocations: 14.03 kB / 17.29 GB, free: 137.7 MB / 0.9176 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-05/30.04, allocations: 36.56 kB / 17.29 GB, free: 137.7 MB / 0.9176 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03539/30.08, allocations: 24.72 MB / 17.32 GB, free: 135.4 MB / 0.9176 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/30.08, allocations: 0 / 17.32 GB, free: 135.4 MB / 0.9176 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005023/30.08, allocations: 1.463 MB / 17.32 GB, free: 135.3 MB / 0.9176 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/30.08, allocations: 0.8496 MB / 17.32 GB, free: 135.2 MB / 0.9176 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000583/30.08, allocations: 207.8 kB / 17.32 GB, free: 135.2 MB / 0.9176 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/30.1, allocations: 19.56 MB / 17.34 GB, free: 120.8 MB / 0.9176 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/30.1, allocations: 3.281 kB / 17.34 GB, free: 120.8 MB / 0.9176 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02808/30.12, allocations: 20.82 MB / 17.36 GB, free: 119.9 MB / 0.9176 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/30.13, allocations: 1.815 MB / 17.36 GB, free: 119.5 MB / 0.9176 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009699/30.13, allocations: 34.83 kB / 17.36 GB, free: 119.5 MB / 0.9176 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/30.13, allocations: 0.6109 MB / 17.36 GB, free: 119.4 MB / 0.9176 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007111/30.13, allocations: 486.4 kB / 17.36 GB, free: 119.4 MB / 0.9176 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006798/30.13, allocations: 416 kB / 17.36 GB, free: 119.4 MB / 0.9176 GB Notification: Performance of sort global known variables: time 0.00197/30.14, allocations: 1.841 MB / 17.36 GB, free: 119.3 MB / 0.9176 GB Notification: Performance of remove unused functions: time 0.02898/30.16, allocations: 5.989 MB / 17.37 GB, free: 118.8 MB / 0.9176 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (boundary_rear1.fore.m_flow,discretizedHEX.thermalElementB[1].h,discretizedHEX.thermalElementB[2].h,discretizedHEX.thermalElementB[3].h,discretizedHEX.thermalElementB[4].h,discretizedHEX.thermalElementB[5].h,discretizedHEX.thermalElementB[6].h,discretizedHEX.thermalElementB[7].h,discretizedHEX.thermalElementB[8].h,discretizedHEX.thermalElementB[9].h,discretizedHEX.thermalElementB[10].h,discretizedHEX.thermalElementA[1].h,discretizedHEX.thermalElementA[2].h,discretizedHEX.thermalElementA[3].h,discretizedHEX.thermalElementA[4].h,discretizedHEX.thermalElementA[5].h,discretizedHEX.thermalElementA[6].h,discretizedHEX.thermalElementA[7].h,discretizedHEX.thermalElementA[8].h,discretizedHEX.thermalElementA[9].h,discretizedHEX.thermalElementA[10].rear.m_flow,discretizedHEX.thermalElementA[10].h,PI1.x,PI.x) * Number of discrete variables: 68 (discretizedHEX.foreB.state_rearwards.phase,discretizedHEX.thermalElementB[10].state.phase,discretizedHEX.thermalElementB[10].rear.state_rearwards.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].state.phase,discretizedHEX.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX.thermalElementB[4].state.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[1].fore.state_rearwards.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.rearB.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].fore.state_forwards.phase,discretizedHEX.thermalElementB[8].fore.state_forwards.phase,boundary_fore1.rear.state_forwards.phase,discretizedHEX.foreB.state_forwards.phase,discretizedHEX.thermalElementB[10].rear.state_forwards.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[2].fore.state_forwards.phase,discretizedHEX.thermalElementB[1].fore.state_forwards.phase,$cse17.phase,$cse19.phase,$cse20.phase,$cse21.phase,$cse23.phase,$cse24.phase,$cse25.phase,$cse27.phase,$cse28.phase,$cse29.phase,$cse31.phase,$cse32.phase,$cse33.phase,$cse35.phase,$cse36.phase,$cse37.phase,$cse39.phase,$cse40.phase,$cse41.phase,$cse43.phase,$cse44.phase,$cse45.phase,$cse47.phase,$cse48.phase,$cse49.phase,$cse51.phase,$cse52.phase,$cse53.phase,$cse55.phase,$cse56.phase,$cse77.phase,$cse78.phase,boundary_fore1.rear.state_rearwards.phase,discretizedHEX.rearB.state_forwards.phase,multiSensor_Tpm2.state.phase,multiSensor_Tpm3.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (689): * Single equations (assignments): 603 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.321/30.49, allocations: 73.24 MB / 17.44 GB, free: 75.05 MB / 0.9176 GB Notification: Performance of simCode: created initialization part: time 0.02352/30.51, allocations: 23.66 MB / 17.46 GB, free: 56.33 MB / 0.9176 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/30.51, allocations: 0 / 17.46 GB, free: 56.33 MB / 0.9176 GB Notification: Performance of simCode: created simulation system equations: time 0.007444/30.52, allocations: 7.73 MB / 17.47 GB, free: 49.24 MB / 0.9176 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009303/30.53, allocations: 2.263 MB / 17.47 GB, free: 47.7 MB / 0.9176 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeMain.mo:440:3-440:155:writable] Error: Internal error Stack overflow in SimCodeMain.generateModelCode... [bt] #1 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashSubscript) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashSubscripts2) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashSubscripts) [bt] #5...6 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashComponentRef) [bt] #7 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashComponentRefMod) [bt] #8 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVar2) [bt] #9 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVarSingle) [bt] #10...1024 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeUtil.replaceCrefWithStartValue) [bt] #1025 [...]