Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00127/0.00127, allocations: 198.6 kB / 8.539 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008862/0.0008862, allocations: 94 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.195/0.195, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2415/0.4366, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.533, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.8375, allocations: 99.67 MB / 0.6012 GB, free: 3.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.8378, allocations: 94.95 kB / 0.6013 GB, free: 3.09 MB / 394.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.05727/0.8951, allocations: 22.25 MB / 0.623 GB, free: 192 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8952, allocations: 12 kB / 0.623 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.8956, allocations: 103.3 kB / 0.6231 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.8961, allocations: 309.1 kB / 0.6234 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.8962, allocations: 16 kB / 0.6235 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/0.8962, allocations: 28 kB / 0.6235 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006302/0.8969, allocations: 420.5 kB / 0.6239 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00086/0.8977, allocations: 0.5986 MB / 0.6245 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.8978, allocations: 4 kB / 0.6245 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.8978, allocations: 3.984 kB / 0.6245 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.8979, allocations: 21 kB / 0.6245 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.9001, allocations: 1.36 MB / 0.6258 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.9006, allocations: 297.2 kB / 0.6261 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.9008, allocations: 126.6 kB / 0.6262 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.9008, allocations: 20.38 kB / 0.6262 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.9009, allocations: 41.27 kB / 0.6263 GB, free: 13.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.9009, allocations: 0 / 0.6263 GB, free: 13.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007034/0.9016, allocations: 317.9 kB / 0.6266 GB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.9017, allocations: 110.8 kB / 0.6267 GB, free: 12.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.9019, allocations: 195.7 kB / 0.6269 GB, free: 12.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.9019, allocations: 25.7 kB / 0.6269 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.9021, allocations: 239 kB / 0.6271 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.9021, allocations: 70.53 kB / 0.6272 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.9022, allocations: 0 / 0.6272 GB, free: 12.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9023, allocations: 334.6 kB / 0.6275 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.9025, allocations: 130.8 kB / 0.6276 GB, free: 11.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.9028, allocations: 219.7 kB / 0.6279 GB, free: 11.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.903, allocations: 162 kB / 0.628 GB, free: 11.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9031, allocations: 11.88 kB / 0.628 GB, free: 11.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006835/0.9038, allocations: 391.9 kB / 0.6284 GB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9038, allocations: 11.27 kB / 0.6284 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.704e-05/0.9039, allocations: 47.78 kB / 0.6284 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9039, allocations: 4.438 kB / 0.6285 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.9041, allocations: 43.97 kB / 0.6285 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.9042, allocations: 7.938 kB / 0.6285 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.9044, allocations: 39.78 kB / 0.6285 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.9045, allocations: 23.92 kB / 0.6286 GB, free: 10.91 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.0001178/0.9046, allocations: 116.9 kB / 0.6287 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.9047, allocations: 23.72 kB / 0.6287 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/0.9056, allocations: 496.5 kB / 0.6292 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.9056, allocations: 4 kB / 0.6292 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9056, allocations: 0 / 0.6292 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.9056, allocations: 3.984 kB / 0.6292 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.9062, allocations: 363.7 kB / 0.6295 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-05/0.9063, allocations: 39.95 kB / 0.6296 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.9065, allocations: 39.91 kB / 0.6296 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.9065, allocations: 0 / 0.6296 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.9065, allocations: 11.88 kB / 0.6296 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.9065, allocations: 4 kB / 0.6296 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.9065, allocations: 0 / 0.6296 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006466/0.9072, allocations: 0.5891 MB / 0.6302 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007355/0.9079, allocations: 0.9647 MB / 0.6311 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.908, allocations: 108.8 kB / 0.6312 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.9081, allocations: 0 / 0.6312 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.9084, allocations: 27.98 kB / 0.6313 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.9085, allocations: 23.95 kB / 0.6313 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.9085, allocations: 15.86 kB / 0.6313 GB, free: 8.145 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001233/0.9086, allocations: 149.2 kB / 0.6314 GB, free: 8.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001417/0.9101, allocations: 245.2 kB / 0.6317 GB, free: 7.809 MB / 426.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.0006159/0.9107, allocations: 306.9 kB / 0.632 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.9115, allocations: 0.5973 MB / 0.6326 GB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9116, allocations: 0 / 0.6326 GB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.9119, allocations: 474.4 kB / 0.633 GB, free: 6.352 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.9123, allocations: 36.23 kB / 0.633 GB, free: 6.324 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.9138, allocations: 0.626 MB / 0.6337 GB, free: 5.703 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.9143, allocations: 0.9225 MB / 0.6346 GB, free: 4.766 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9143, allocations: 0 / 0.6346 GB, free: 4.766 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)