Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) [: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 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.4 MB / 230.3 MB, free: 7.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 87.19 kB / 281.2 MB, free: 5.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1548/0.1548, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1767/0.3316, allocations: 68.05 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.4261, allocations: 61.92 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2828/0.7089, allocations: 98.61 MB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.7092, allocations: 99.48 kB / 0.5906 GB, free: 14.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.05792/0.7671, allocations: 22.06 MB / 0.6121 GB, free: 7.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.7671, allocations: 11.94 kB / 0.6121 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.7673, allocations: 51.34 kB / 0.6122 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.7677, allocations: 302.2 kB / 0.6125 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.7677, allocations: 16 kB / 0.6125 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.7678, allocations: 28 kB / 0.6125 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006361/0.7684, allocations: 434 kB / 0.6129 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.7693, allocations: 0.6045 MB / 0.6135 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7693, allocations: 0 / 0.6135 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.7694, allocations: 0 / 0.6135 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.7694, allocations: 21 kB / 0.6136 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.7714, allocations: 1.362 MB / 0.6149 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.7719, allocations: 287.9 kB / 0.6152 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.7721, allocations: 138.6 kB / 0.6153 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.7722, allocations: 15.89 kB / 0.6153 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.7722, allocations: 34.56 kB / 0.6153 GB, free: 4.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.7722, allocations: 4 kB / 0.6153 GB, free: 4.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006559/0.7729, allocations: 315.6 kB / 0.6156 GB, free: 3.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.7729, allocations: 102.8 kB / 0.6157 GB, free: 3.848 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.7731, allocations: 196.3 kB / 0.6159 GB, free: 3.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.7732, allocations: 25.7 kB / 0.616 GB, free: 3.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.7733, allocations: 247.5 kB / 0.6162 GB, free: 3.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.7733, allocations: 74.86 kB / 0.6163 GB, free: 3.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.7734, allocations: 4.062 kB / 0.6163 GB, free: 3.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7735, allocations: 334.8 kB / 0.6166 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.7737, allocations: 119.9 kB / 0.6167 GB, free: 2.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.774, allocations: 233.8 kB / 0.6169 GB, free: 2.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.7743, allocations: 164 kB / 0.6171 GB, free: 2.406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7743, allocations: 0 / 0.6171 GB, free: 2.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006484/0.775, allocations: 397.8 kB / 0.6175 GB, free: 2.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.775, allocations: 8.031 kB / 0.6175 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.104e-05/0.7751, allocations: 39.97 kB / 0.6175 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7751, allocations: 7.938 kB / 0.6175 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.7753, allocations: 43.89 kB / 0.6176 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.7753, allocations: 15.94 kB / 0.6176 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.7756, allocations: 35.83 kB / 0.6176 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.7756, allocations: 19.98 kB / 0.6176 GB, free: 1.844 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.7757, allocations: 124.8 kB / 0.6177 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.7758, allocations: 23.72 kB / 0.6178 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008524/0.7767, allocations: 486.6 kB / 0.6182 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7767, allocations: 11.89 kB / 0.6182 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7767, allocations: 4 kB / 0.6182 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7767, allocations: 0 / 0.6182 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.7773, allocations: 361.9 kB / 0.6186 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-05/0.7773, allocations: 43.97 kB / 0.6186 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.7775, allocations: 27.97 kB / 0.6187 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.7775, allocations: 4 kB / 0.6187 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.7776, allocations: 11.98 kB / 0.6187 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.7776, allocations: 7.938 kB / 0.6187 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7776, allocations: 0 / 0.6187 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005934/0.7782, allocations: 0.5763 MB / 0.6192 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007343/0.7789, allocations: 0.9659 MB / 0.6202 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.779, allocations: 100.8 kB / 0.6203 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.7791, allocations: 0 / 0.6203 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.7793, allocations: 27.97 kB / 0.6203 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.7794, allocations: 19.98 kB / 0.6203 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.7795, allocations: 15.98 kB / 0.6203 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001153/0.7796, allocations: 160.4 kB / 0.6205 GB, free: 14.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001288/0.7809, allocations: 215.2 kB / 0.6207 GB, free: 14.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005105/0.7814, allocations: 292.9 kB / 0.621 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.782, allocations: 0.6093 MB / 0.6216 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7821, allocations: 0.875 kB / 0.6216 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.7824, allocations: 468.3 kB / 0.622 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.7827, allocations: 31.12 kB / 0.622 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.7841, allocations: 0.6245 MB / 0.6227 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.7847, allocations: 0.9166 MB / 0.6236 GB, free: 11.43 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7847, allocations: 0 / 0.6236 GB, free: 11.43 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)